January 2019
Intermediate to advanced
460 pages
10h 33m
English
We have introduced some new entities with messages and chats. Let's include those in our Apollo schema. In the following code, you can see an excerpt of the changed entities, fields, and parameters of our GraphQL schema:
type User { id: Int avatar: String username: String}type Post { id: Int text: String user: User}type Message { id: Int text: String chat: Chat user: User}type Chat { id: Int messages: [Message] users: [User]}type RootQuery { posts: [Post] chats: [Chat]}
Take a look at the following short changelog of our GraphQL schema:
Read now
Unlock full access