We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent addac37 commit c8def07Copy full SHA for c8def07
src/common/decorators/typeorm.decorator.ts
@@ -1,6 +1,6 @@
1
import { SetMetadata } from '@nestjs/common';
2
3
-export const TYPEORM_CUSTOM_REPOSITORY = 'TYPEORM_CUSTOM_REPOSITORY';
+export const TYPEORM_CUSTOM_REPOSITORY = Symbol('TYPEORM_CUSTOM_REPOSITORY');
4
5
export function CustomRepository<T>(
6
entity: new (...args: unknown[]) => T,
0 commit comments