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

Propagate the pretty printer from the writer to the generator in ProviderBase.writeTo() #205

Merged
merged 2 commits into from
Jan 5, 2025

Conversation

motlin
Copy link
Contributor

@motlin motlin commented Jan 4, 2025

In my Dropwizard 2.x project, I noticed that POJO responses were serialized using the pretty printer, but Response objects were not. I debugged to this section of the code and found that the pretty-printer was not propagated here.

Copy link
Member

@cowtowncoder cowtowncoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cowtowncoder cowtowncoder changed the title Propagate the pretty printer from the writer to the generator in ProviderBase.writeTo(). Propagate the pretty printer from the writer to the generator in ProviderBase.writeTo() Jan 5, 2025
@cowtowncoder
Copy link
Member

Makes sense, thank you! Will merge for inclusion in 2.19.0.

@cowtowncoder cowtowncoder merged commit db934e1 into FasterXML:2.19 Jan 5, 2025
4 checks passed
@motlin motlin deleted the pretty-printer branch January 11, 2025 16:36
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.

2 participants