-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Mixin with @JsonProperry to override @JsonIgnore no longer works in 2.14 #3812
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
Comments
Incomplete reproduction, would need But assuming there's simple
and not add conflicting Older behavior (of New behavior is correct, at any rate. |
Correct. Thx for the clarification. Closing Issue. |
Forgot to say: thank you for filing this @ddewaele. FWTW, this is mentioned in 2.14 release notes: https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.14 (under "Observed/Reported changes" section) and reported as #3722 earlier (which I forgot initially) |
Thx again for clarifying. We're doing a big Spring boot 2.x -> 3.x upgrade on a lot of projects and I did read in the Jackson 2.14 release notes initially but somehow missed this one. Awesome work you people are doing in keeping this great library compatible too a large degree for such a long time ! |
@ddewaele Actually it is quite possible that that note was added after release -- so you couldn't have seen it then. I just added note here for sake of completness (was about to add something there if this was missing). |
Given the following code
With jackson-databind 2.13.x it outputs as expected (Mixin overrides the JsonIgnore id field):
With jackson-databind 2.14.x it doesn't seem to take into account the mixin :
The text was updated successfully, but these errors were encountered: