example/prefetch/schema.graphql
raw| 1 | schema { query: Query } |
| 2 | |
| 3 | type Query { |
| 4 | authors: [Author!]! |
| 5 | } |
| 6 | |
| 7 | type Author { |
| 8 | id: ID! |
| 9 | name: String! |
| 10 | books(top: Int!): [Book!]! |
| 11 | } |
| 12 | |
| 13 | type Book { |
| 14 | id: ID! |
| 15 | title: String! |
| 16 | reviews(last: Int!): [Review!]! |
| 17 | } |
| 18 | |
| 19 | type Review { |
| 20 | id: ID! |
| 21 | content: String! |
| 22 | rating: Int! |
| 23 | } |