Skip to content

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

@p-himik

Description

@p-himik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions