Deprecate legacy core datasource token (#14096)
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ import { TypeORMModule } from 'src/database/typeorm/typeorm.module';
|
||||
imports: [
|
||||
NestjsQueryGraphQLModule.forFeature({
|
||||
imports: [
|
||||
NestjsQueryTypeOrmModule.forFeature([KeyValuePair], 'core'),
|
||||
NestjsQueryTypeOrmModule.forFeature([KeyValuePair]),
|
||||
TypeORMModule,
|
||||
],
|
||||
}),
|
||||
|
||||
+1
-1
@@ -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>,
|
||||
) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user