DataLoader is a generic library which aims to solve the
n+1 issue in large-scale GraphQL Applications.
You can read more about DataLoader.
DataLoader can be used in GraphQL Modules with an easy setup. You can use them as providers or in providers. If you want to use them as providers, you can extend the
DataLoader class to benefit Dependency Injection or wrap factory functions with
Scope.Operation is recommended for this usage because
DataLoader works on a cache-per-request mechanism.
DataLoader as a Service
You don't need to create