v0.7.4
路 One min read
- [FIXED] code formatting
- Update root package.json with common dependencies
@nestjs/graphql
v7.x
.TypeOrmQueryService
to operate on the Entity
AssemblerQueryService
to translate between the DTO
and Entity
InjectTypeOrmQueryService
decorator to auto-create a TypeOrm query service.See the migration guide for a more in-depth review of the changes.
input
argument with custom fields.createOne(input: DTO)
-> createOne(input: { [dtoName]: DTO })
createMany(input: DTO[])
-> createOne(input: { [pluralDTOName]: DTO[] })
updateOne(id: ID, input: UpdateDTO)
-> createOne(input: { id: ID, update: UpdateDTO })
updateMany(filter: Filter<DTO>, input: UpdateDTO)
-> createOne(input: { filter: Filter<DTO>, update: UpdateDTO })
deleteOne(input: ID)
-> deleteOne(input: {id: ID})
deleteMany(input: Filter<DTO>)
-> createOne(input: { filter: Filter<DTO> })
decorators
option to resolver options to allow providing custom decorators to endpoints #36