Pagination decisions

Browser-side vs server-side paging “depends” — so ask the business; 100k owners makes it server-side.

  • The decisions grill-me produced for ticket #25:
    • server-side paging, page size capped at 100
    • a hand-written page DTO instead of Spring’s Page
      • He said serializing a Spring Page in a REST response is “not allowed” — Spring Data only warns since 3.1: discouraged, not forbidden; PagedModel via VIA_DTO (3.3) is the stable alternative.
    • sort by first name, then last name, plus city — nothing else
    • id last in ORDER BY, for a stable sort — otherwise rows go missing between pages
  • Each one came from a fact the agent couldn’t know: AGENTS.md, DB CLI skill.

See also: Grill-me · AGENTS.md · Model seniority · Home Source: Responsibly Dimming the Lights in the Software Factory @ Devoxx Belgium, Day 1 (6 Oct 2026) — section Grill-me (0:25:43)