Easy
query {
  user(id: 1) {
    name
    age
    posts {
      title
      content
    }
  }
}
What will be the result of this query if the user has no posts?
Author: Maxime JavauxStatus: PublishedQuestion passed 52 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
0
What are variables in GraphQL?0
What was the business need that drove Facebook to develop GraphQL?1
Using inline fragments for different types in GraphQL1
Create a new review and return its details0
What is the main role of a "resolver" in GraphQL?0
What is a "mutation" in GraphQL?0
What is the role of the schema in GraphQL?