Allow usage of nested Sort properties applying Jackson-aware field to property mapping. Currently, nested sort properties are filtered because sort mapping considers only top-level properties.
Jackson-field to property mapping should be relaxed and fall back to non-translated properties if the domain type can not be resolved
Issue Links:
DATACMNS-918 Provide interfaces for Pageable and Sort method argument resolvers
("depends on")
Hi guys, are there any updates on this ticket and PR? I'm asking because we're updating our apps to spring-cloud Camden release train and spring boot 1.4 - and nested Sort properties used to work prior to SDR 2.4.4. I am not sure whether sorting by nested properties was an unintentional feature, but our app was relying on it (and on the error message on unknown sort property that gets silently ignored now). Anyway, this commit for 2.4.5 removed this feature. We can get around it by extending RepositoryRestMvcConfiguration and overriding defaultMethodArgumentResolvers using the pre-2.4.5. resolvers.
Mark Paluch opened DATAREST-910 and commented
Allow usage of nested
Sort
properties applying Jackson-aware field to property mapping. Currently, nested sort properties are filtered because sort mapping considers only top-level properties.Jackson-field to property mapping should be relaxed and fall back to non-translated properties if the domain type can not be resolved
Issue Links:
("depends on")
Referenced from: pull request #232
Backported to: 2.6 RC1 (Ingalls)
The text was updated successfully, but these errors were encountered: