reitit
reitit copied to clipboard
Multipart middleware: remove/replace dependency on broken ring.middleware.multipart-params
Upstream ring.middleware.multipart-params
depends on removed javax.*
ns.
See https://github.com/ring-clojure/ring/issues/251
Offending code: https://github.com/metosin/reitit/blob/master/modules/reitit-middleware/src/reitit/ring/middleware/multipart.clj
@ikitommi
I'm being hit by this when trying to build a toy example based on https://github.com/metosin/reitit/tree/master/examples/ring-malli-swagger
(More details: https://github.com/allentiak/scramble/commit/603f1b96bd88446e364c0413f1d61178ac7435f1)
Is there any Clojure library that you are aware of that could replace ring.middleware.multipart-params
?
UPDATE: Forget my last comment. I realized I was just simply missing a dependency.
Just for the record, I added ring/ring-jetty-adapter
and it compiled.