Skip to main content

v0.7.3

路 One min read
  • [DOCS] Update docs to include a complete example of custom methods #64
  • [FIXED] Issue where creating or updating allows specifying primary keys #65

v0.7.0

路 One min read
  • Updated to @nestjs/graphql v7.x.
    • This was a passive change for the library usage however you should still follow the migration guide found here

v0.6.0

路 One min read
  • [FIXED] Get Underlying Entity Object #41
    • Changed TypeOrmQueryService to operate on the Entity
    • Added new AssemblerQueryService to translate between the DTO and Entity
  • [ADDED] New InjectTypeOrmQueryService decorator to auto-create a TypeOrm query service.

See the migration guide for a more in-depth review of the changes.

v0.5.1

路 One min read
  • [DOCS] Added clarification around individual resolvers and relations with examples #42
  • [ADDED] Exposed Relatable mixin from @nestjs-query/graphql #42

v0.4.0

路 One min read
  • Updated all mutations to take a single 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> })
  • Updated docs to reflect changes.

v0.5.0

路 One min read
  • Added decorators option to resolver options to allow providing custom decorators to endpoints #36