hello, i am using malli coercion. my malli schemas have error messages for two locales. how can i go about instructing reitit to use one locale over the other per request for humanizing errors?
this is my current setup for reference:
(reitit.coercion.malli/create
{:error-keys #{:coercion :in :schema :value :errors :humanized}
:compile mu/closed-schema
:strip-extra-keys true
:default-values true})
if anyone encounters the same problem, I resolved this by re-implementing coerce-exceptions-middleware. I don't imagine this is the best approach but it has been working well