Skip to content

Compojure 2.x should be backwards compatible with 1.x #462

@frenchy64

Description

@frenchy64
  • add back :format options to use ring-middleware-format
    • consider pulling out muuntaja api-middleware into another function
      • Q: if neither :format nor :formats is provided, which do coercion backend do we choose?
        • either need to break 1.x or 2.0.0-alphas
      • could make even more explicit with a keyword option explicitly naming backend
        • still, which to default to?
      • also need a way to set the default for namespaces we don't control via JVM properties
      • coercion defaults have changed with muuntaja. if we silently upgrade 1.x users to muuntaja, we should keep 1.x defaults.

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