diff --git a/docs/docs/guides/developer-guide/dataloaders/index.md b/docs/docs/guides/developer-guide/dataloaders/index.md index 8823fe03eb..b35bca0e14 100644 --- a/docs/docs/guides/developer-guide/dataloaders/index.md +++ b/docs/docs/guides/developer-guide/dataloaders/index.md @@ -45,6 +45,8 @@ export const shopApiExtensions = gql` **Dataloader skeleton** ```ts title="src/plugins/my-plugin/api/datalaoder.ts" +import DataLoader from 'dataloader' + const LoggerCtx = 'SubscriptionDataloaderService' @Injectable({ scope: Scope.REQUEST }) // Important! Dataloaders live at the request level