Fork me on GitHub

Hello! I'm using reitit with schema.core coercion, I was trying to figure it out how to use custom coercers like in my requests, I'll receive a string in my json, but after coerced I wanted that string to be coerced to java.util.Date for example. Is there a way to do this?


also will be nice to use the reverse to coerce response data


Can reitit validate and coerce nested form parameters, eg foo[bar][baz]=quux?


Trying to get it working and hoping there’s an example that exists.


I got it working by writing my own interceptor that wraps changing the :params key to be :form-params. That way the rest of the coercion pipeline can actually find that parsed data and continue working on it as normal.