@webundsoehne/nestjs-graphql-typeorm-dataloader
Version:
A library to utilize the graphql-dataloader with nestjs and typeorm.
8 lines (6 loc) • 310 B
TypeScript
/**
* The context key of data-loader plugin per key injected by the interceptor or apollo-server plugin.
* This will be appended to the context instead of the request to ensure compatibility between two.
*/
declare const DATA_LOADER_CONTEXT_KEY = "DATA_LOADER_CONTEXT";
export { DATA_LOADER_CONTEXT_KEY };