spring-projects / spring-projects/spring-data-commons
Consider PageableDefaults and SortDefaults on query methods [DATACMNS-657]
Open
@mp911de is already working on this.
Since Mar 23, 2023.
in: repository
status: ideal-for-contribution
type: enhancement
- Dominant language
- Java
- Stars
- 838
- Forks
- 730
- PR merge metrics
- No merged PRs in 30d
Description
Oliver Drotbohm opened DATACMNS-657 and commented
It would be cool if query methods on repositories would consider @PageableDefaults and @SortDefaults on Pageable and Sort parameters and expose them via the QueryMethod API.
The annotation configuration should be used when null is provided for the corresponding parameter
Affects: 1.9.2 (Evans SR2), 1.10 RC1 (Fowler)
2 votes, 3 watchers
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.