Hacker News new | ask | show | jobs
by akx 1179 days ago
A dataloader sort of pattern tends to be on the implementing end of GraphQL.
1 comments

Indeed, the parent was describing built-in features of the Apollo GraphQL Client, such as entity-level caching in the frontend.

However, a dataloader pattern can also be useful when implementing custom resolvers for a GraphQL API. For this purpose, Apollo provides data sources which handle caching at request level.