Built from the ashes of https://github.com/ngrunwald/ring-middleware-format
Separated concerns:
- Content negotation
- Low level functions?
- Higher level functions for using with Ring request maps?
- Separate namespaces for low-level and Ring stuff?
- Format encoding/decoding implementations
- Formatters?
- Idea: Interface that defines some parameters that formatters need to provide
- Old implementation: https://github.com/metosin/ring-middleware-format/blob/refactor/src/ring/middleware/formatters.clj
- Should be completely separate from Ring middlewares and probably Ring request maps?
- Ring middlewares
- Middlewares using previous stuff
- Interceptors
Potential users:
- Compojure-api (Ring middlewares)
- Luminus? (Ring middlewares)
- Kekkonen (Pedestal-style interceptors)
- ...