@webundsoehne/nestjs-graphql-typeorm-dataloader
Version:
A library to utilize the graphql-dataloader with nestjs and typeorm.
11 lines (10 loc) • 494 B
TypeScript
export { handler } from './callback-handler.handler.js';
export { handleToMany } from './to-many.handler.js';
export { handleToOne } from './to-one.handler.js';
export { handleOneToManyWithSelfKey, handleOneToOneNotOwnerWithSelfKey } from './self-key.handler.js';
import 'dataloader';
import 'typeorm';
import 'typeorm/metadata/ColumnMetadata';
import 'typeorm/metadata/RelationMetadata';
import '../interfaces/context.interface.js';
import '../interfaces/typeorm-loader-handler.interface.js';