I have entity with unique field, i want check unique of field in EntityService.
And i have extra column "extra_field" i want use this field only when checking unique for field "name";
Problem here: "override async createOne(req: CrudRequest, dto: CreateDto) {"
Type CreateDTO not allowed, only DeepPartical allowed.
What do?
I have entity with unique field, i want check unique of field in EntityService. And i have extra column "extra_field" i want use this field only when checking unique for field "name"; Problem here: "override async createOne(req: CrudRequest, dto: CreateDto) {" Type CreateDTO not allowed, only DeepPartical allowed.
What do?
my.entity.ts
create.dto.ts
my.service.ts