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 780bbf9 commit 5ca7132Copy full SHA for 5ca7132
libs/json-api/json-api-nestjs-typeorm/src/lib/service/type-orm-format.error.service.ts
@@ -3,8 +3,6 @@ import {
3
EntityParam,
4
ValidateQueryError,
5
ENTITY_PARAM_MAP,
6
- EntityControllerParam,
7
- MODULE_OPTIONS_TOKEN,
8
} from '@klerick/json-api-nestjs';
9
import {
10
BadRequestException,
@@ -108,7 +106,6 @@ export const PostgresError = {
108
106
};
109
107
110
export class TypeOrmFormatErrorService extends ErrorFormatService {
111
- @Inject(MODULE_OPTIONS_TOKEN) private moduleOptions!: EntityControllerParam;
112
@Inject(CURRENT_ENTITY_MANAGER_TOKEN) private entityManager!: EntityManager;
113
@Inject(ENTITY_PARAM_MAP) private readonly mapProperty!: Map<
114
EntityTarget<any>,
0 commit comments