Query
Every GraphQL schema has a root type for both queries and mutations. The query type defines GraphQL operations that retrieve data from the server.
Fields
books (
[Book!]
)
List all the books or a single book
Argument | Type | Description |
---|---|---|
genre |
String
|
Description of the book |
Lists a single author or all authors
Argument | Type | Description |
---|---|---|
id |
ID!
|
ID of the author |