Root Query
A brief look on how the root query looks like. In case you want to know more about queries within GraphQL you can check this link
#
Root QueryField | Type |
---|---|
book | Book |
books | GraphQLList(Book) |
author | Author |
authors | GraphQLList(Author) |
#
Book#
type: Book#
args: ID (GraphQLID)#
Books#
type: GraphQLList(Book)#
Author#
type: Author#
args: ID (GraphQLID)#
Authors#
type: GraphQLList(Author)You can find the root query declaration here. This is an example on how it looks like: