Deprecate legacy core datasource token (#14096)

This commit is contained in:
Weiko
2025-08-27 20:09:54 +02:00
committed by GitHub
parent c6aa419c18
commit 533d7fe49a
321 changed files with 702 additions and 849 deletions
@@ -11,7 +11,7 @@ import { TypeORMModule } from 'src/database/typeorm/typeorm.module';
imports: [
NestjsQueryGraphQLModule.forFeature({
imports: [
NestjsQueryTypeOrmModule.forFeature([KeyValuePair], 'core'),
NestjsQueryTypeOrmModule.forFeature([KeyValuePair]),
TypeORMModule,
],
}),
@@ -12,7 +12,7 @@ export class KeyValuePairService<
KeyValueTypesMap extends Record<string, any> = Record<string, any>,
> {
constructor(
@InjectRepository(KeyValuePair, 'core')
@InjectRepository(KeyValuePair)
private readonly keyValuePairRepository: Repository<KeyValuePair>,
) {}