Skip to content

Make ProblemDetailJacksonXmlMixin compatible with Jackson 3 #34925

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

Closed
wants to merge 1 commit into from

Conversation

sdeleuze
Copy link
Contributor

As a follow-up to #33798 and FasterXML/jackson-dataformat-xml#757 (comment), this PR intends to make ProblemDetailJacksonXmlMixin compatible with Jackson 3.

@rstoyanchev Could you please check if the proposed solution is fine or not? I am unsure given the Javadoc comment mentioning that due to FasterXML/jackson-dataformat-xml#355, @JsonRootName can't be used. But in Jackson 3, JacksonXmlRootElement is deprecated and the tests are green with Jackson 3 + @JsonRootName, so I would need your feedback to know if this can be merged or not. I will refine the potentially outdated Javadoc based on your feedback.

@sdeleuze sdeleuze added this to the 7.0.0-M6 milestone May 19, 2025
@sdeleuze sdeleuze requested a review from rstoyanchev May 19, 2025 12:37
@sdeleuze sdeleuze self-assigned this May 19, 2025
@sdeleuze sdeleuze added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement labels May 19, 2025
sdeleuze added a commit to sdeleuze/spring-framework that referenced this pull request May 26, 2025
@sdeleuze sdeleuze closed this in 13be54a May 26, 2025
@sdeleuze
Copy link
Contributor Author

@rstoyanchev Merged as discussed. I am still unsure what to do about this comment, not sure if that's apply only to Jackson 2. Let's maybe see based on the feedback on Jackson 3 support since our tests are green and update before GA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant