5 ms·
A dataloader sort of pattern tends to be on the implementing end of GraphQL.
by akx 4y ago
A dataloader sort of pattern tends to be on the implementing end of GraphQL.
- eurasiantiger 4y agoIndeed, 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.