Re:REST vs. GraphQL – A search for evidence on which is better
by zachrip on Tuesday December 15, 2020 @03:21PM
(#25434707)
This is more or less what dataloader accomplishes. Generally speaking when creating a gql service, graph traversal is not app code but library code.
[ Parent
| on HN ]
Re:REST vs. GraphQL – A search for evidence on which is better
by zanellato19 on Tuesday December 15, 2020 @03:45PM
(#25435012)
Dataloader avoids the N+1 but I wouldn't call it a good solution, you have to twist your app code to make it work. Its an inelegant solution, imo.