GraphQL
Dataloaders
Nestjs-query integrates a standard implementation of . Dataloaders are there to solve the . Sometimes the default implementation can fail, for example when asynchronous are used and the problem occurs again despite using dataloaders. Then it may be useful to configure the default implementation of the dataloader, for example to pass a custom batch scheduler.
The following example demonstrates how to configure the generated dataloaders. For more information about the dataloader configuration, see the dataloader documentation.
app.module.ts
Edit this page