-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for final/Kotlin classes in GenericJackson2JsonRedisSerializer
[DATAREDIS-995]
#1566
Comments
Sébastien Deleuze commented
FYI Jackson 2.10 should be here on time for Boot 2.2 GA.
|
Sébastien Deleuze commented I have just upgraded Jackson to 2.10.0 in Framework, in time for our 5.2 GA, and Boot will pick up as well. Is it possible to use |
|
@mp911de - Started working on a simple PR for that to swap over the DefaultTyping to EVERYTHING enum and added a test for it. Looks like it breaks the null serialization though with shouldSerializeNullValueSoThatItCanBeDeserializedWithDefaultTypingEnabled() throwing a:
I can still go ahead and submit the PR if you want but I'm a bit at a loss for that one. |
For the failing test in Still, there are more problems related to moving to The
and hook it into the |
GenericJackson2JsonRedisSerializer
[DATAREDIS-995]
Sébastien Deleuze opened DATAREDIS-995 and commented
As described in detail in this Jackson issue, it is currently not possible to use
GenericJackson2JsonRedisSerializer
with final classes. That's especially blocking in Kotlin where classes are final by default, and data classes always final.This issue should be fixed at Jackson level
No further details from DATAREDIS-995
The text was updated successfully, but these errors were encountered: