Tag: nestjs-query
-
How to have an offset paginated query and a cursor paginated query with Nestjs-query?
1 I’m using nestjs-query, and I have an entity (TodoItem). I would like to generate 2 resolvers/queries to fetch many todos: A cursor paginated one An offset paginated one. This is what I did: resolvers: [ { DTOClass: TodoItemDTO, EntityClass: TodoItemEntity, create: { disabled: true }, update: { disabled: true }, delete: { disabled: true…