Skip to content
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

Prioritize constructor parameter over field if both are annotated with @JsonAnySetter, to fix #4634 #4641

Merged

Conversation

yihtserns
Copy link
Contributor

Switching the priority not just because doing so happens to fix #4634, but also because it feels weird to prioritise field if both are annotated with @JsonAnySetter.

@cowtowncoder cowtowncoder merged commit 7ae72a5 into FasterXML:2.18 Jul 24, 2024
9 checks passed
@JooHyukKim
Copy link
Member

Thank you, @yihtserns !

@yihtserns yihtserns deleted the jsonanysetter-field-n-ctorparam branch July 25, 2024 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@JsonAnySetter not working when annotated on both constructor parameter & field
3 participants