reitit icon indicating copy to clipboard operation
reitit copied to clipboard

Multipart middleware: remove/replace dependency on broken ring.middleware.multipart-params

Open allentiak opened this issue 1 year ago • 2 comments

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

allentiak avatar Apr 17 '23 16:04 allentiak

@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?

allentiak avatar Jul 07 '23 12:07 allentiak

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.

allentiak avatar Jul 07 '23 13:07 allentiak