|
|
|
|
|
by beaconstudios
1542 days ago
|
|
GraphQL is designed around CRUD fetching patterns - so typically you would have a query per data type slice, and that query can be as complex as you like. In order to avoid N+1 queries, you should use dataloader: https://github.com/graphql/dataloader. You can also join additional data to reference in deeper resolvers, but that's an antipattern AFAIK. |
|