spring-projects / spring-projects/spring-data-rest
JacksonMappingAwareSortTranslator should be made configurable [DATAREST-1218]
Open
@odrotbohm is already working on this.
Since Dec 31, 2020.
type: enhancement
- Dominant language
- Java
- Stars
- 958
- Forks
- 568
- PR merge metrics
- No merged PRs in 30d
Description
Antonio Petrelli opened DATAREST-1218 and commented
JacksonMappingAwareSortTranslator does a lot of work, from filtering away wrong sort parameters, to remapping them. However I would like this class to be configurable. I have some use cases:
- Convert
Sortclass toQSort, much more flexible in which I could put Querydsl's expressions as order by expressions (by usingOrderSpecifier); - Allow sort of some nested properties that are not exposed because there are repositories for them
Affects: 2.6.10 (Ingalls SR10)
1 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.