diff --git a/lib/common/typeorm.decorators.ts b/lib/common/typeorm.decorators.ts index 9734dd0eb..87523e64a 100644 --- a/lib/common/typeorm.decorators.ts +++ b/lib/common/typeorm.decorators.ts @@ -19,6 +19,9 @@ export const InjectDataSource: ( dataSource?: DataSource | DataSourceOptions | string, ) => Inject(getDataSourceToken(dataSource)); +/** @deprecated */ +export const InjectConnection = InjectDataSource; + export const InjectEntityManager: ( dataSource?: DataSource | DataSourceOptions | string, ) => ReturnType = (