Support · tickets
The tickets live in the support service.
Every one must be read, through the API.
NestJS 11, nestjs-paginate, 130 tickets
The problem
The API hands the list out in pages.
- Each page gives the link to the next.
- Meanwhile, support works.
What is not changed
The service stays as it is.
- Its API, as the team wrote it.
- No module, no setting.
The trap
A deletion shifts the pages.
- A ticket on page 1 disappears.
- Another one lands on no page.
What had to be written
pagination: { kind: nestjs }One line.
- The next link is followed.
- Each page's total is checked.
- A 21-line connector.
A filter
Open tickets only.
- The filter is written in the path.
- Every next link keeps it: 97 read.
What was fixed
One gap found, one fix.
- Before: Completed, a ticket missing.
- Now: the list is read again (#1794).
Try it
The scenario replays locally.
Every step is published with its output.