Fork me on GitHub

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". Sorry if this isn't the correct place to ask about that.


Nvm I could set the :return to :bytes on muuntaja's instance


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


Any examples of using reitit/ring with CORS?