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