GraphQL - Type Relationships
Given the schema:
type Author { id: ID! name: String! books: [Book!]! }
type Book { id: ID! title: String! author: Author! }
What will this query return?
{ author(id: "1") { name books { title } } }
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions