Dario Seidl
Dario Seidl
You can create a `ControllerAdvice` that is limited to a specific controller, with `assignableTypes`. Give it a higher order than your your other, general advice traits (like `ProblemHandling`). For example...
Thank you for looking into this. I tried your test case and indeed it passes. It seems the problem only appears on a slightly more complicated case: ``` @Test void...
In `applySorting`, where the `order by` is appended, https://github.com/spring-projects/spring-data-jpa/blob/8c4123f6b2ac40dd2a97a7c267668e888c73e022/src/main/java/org/springframework/data/jpa/repository/query/QueryUtils.java#L265-L271 `earliestBundleStart` is not in `selectionAliases`. That in turn seems to mess with the logic in `getOrderClause`, which decides to prepend the...
Thanks for the pointer. I tried with the latest QueryUtils from that commit, unfortunately, it did not change anything about the test case posted above.
No news that I know of. If you're constructing the Pageable manually, you can try this as a workaround: `JpaSort.unsafe(Sort.Direction.DESC, "(id)")`. This has been working for us, although, I don't...
Ah, yes, that name doesn't sound too comforting, does it? What it means is that > the String provided is not necessarily a property but can be an arbitrary expression...
I looked into while investigating this bug https://github.com/zalando/jackson-datatype-money/issues/314. Basically, the `MonetaryAmountSerializer` would just have to return a version of itself in `unwrappingSerializer` that doesn't write the JSON start and end...
I believe this is essentially the same issue as https://github.com/spring-projects/spring-data-rest/issues/1928 edit: and also https://github.com/spring-projects/spring-data-rest/issues/1881.
We're having the same problem with jackson-datatype-money and the `MonetaryAmountDeserializer`, after upgrading Spring Boot to 2.5.8. The `MonetaryAmountDeserializer` deserializes `"amount"` and `"currency"` from JSON, but the `MappedProperties` only knows about...
Copying the source file is easy enough, but I would also prefer not to copy it if could be hosted on Maven Central. Publishing to Maven Central isn't much more...