- Published on
Pageable Input Validation: Designing a PageRequestDto
Why I introduced a PageRequestDto instead of exposing Spring Pageable directly, so sort fields and page size rules could be controlled more clearly.
SpringPaginationValidationAPI-Design