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

Impossible to pretty-print response bodies by using pretty=true media type parameter #319

Open
p-himik opened this issue Oct 12, 2020 · 0 comments

Comments

@p-himik
Copy link

p-himik commented Oct 12, 2020

dakrone/cheshire#100 has made a backwards incompatible change that requires the :pretty option for json/encode to be either a boolean, a map, or an instance of PrettyPrinter.
But yada.media-type/string->media-type does not convert any properties from strings except for the quality. Meaning, the "pretty" parameter will be a string "true". In this case, cheshire just ignores the :pretty option altogether.

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

No branches or pull requests

1 participant