This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-01
Channels
- # announcements (7)
- # babashka (41)
- # beginners (117)
- # cider (3)
- # clj-kondo (145)
- # cljdoc (25)
- # cljs-dev (19)
- # clojure (197)
- # clojure-dev (14)
- # clojure-europe (4)
- # clojure-italy (3)
- # clojure-nl (2)
- # clojure-spec (11)
- # clojure-uk (21)
- # clojuredesign-podcast (5)
- # clojurescript (29)
- # code-reviews (4)
- # cursive (87)
- # data-science (11)
- # datomic (29)
- # duct (2)
- # emacs (10)
- # graalvm (1)
- # lumo (13)
- # malli (2)
- # nrepl (5)
- # off-topic (25)
- # onyx (1)
- # pathom (6)
- # reagent (20)
- # reitit (4)
- # rewrite-clj (7)
- # shadow-cljs (114)
- # spacemacs (16)
Just stumbled upon pohjavirta
. How do you actually pair it with muuntaja.middleware/wrap-format
? I keep on getting: "ERROR: UT005071: Undertow request failed HttpServerExchange{ GET /api/health}
java.lang.UnsupportedOperationException: Body class not supported: class java.io.ByteArrayInputStream". Sorry if this isn't the correct place to ask about that.
@electricladyland156 I would not use pohjavirta yet, updated the README. There is no support for consumption of request body atm. You can return data with the :bytes
Muuntaja option, but the body-parsing needs to be implemented. Best thing would be to change Muuntaja so that it can be configured to read the bodies as non-blocking, could lean on Undertows own utilities for that. Not actively developing that, if you are interesed in that, help most welcome.