-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Problem deserialization "raw generic" fields (like Map
) in 2.11.2
#2846
Comments
Ok yes. I think that the original changes for #2796 were the root cause here. Fundamentally I think Anyway, I think this might be complete fix for 2.11.3; I wish we had more unit tests for raw generic types as this would have been caught earlier. |
Thanks for this. I am using Jackson in an app using Kotlin, GraphQL Java and Spring Boot - I wasn't able to isolate the problem yet. I will try the next version containing this fix and if it doesn't fix my issue, I will investigate further. |
@MartinTeeVarga thank you for your help here! As I said I wish I had avoided this self-inflicted regression but I think it should be properly resolved now for 2.11.3 (and 2.12.0). |
(note: follow-up to #2821)
Looks like there are some problems with passing of type resolution context in case of "raw" references to generic types, something like:
where in resolution is attempted for raw
Map
(expressed asClass<?>
and notGenericType
); type resolver gets confused.Full reproduction provided in #2821 by @MartinTeeVarga is as follows:
The text was updated successfully, but these errors were encountered: