reitit 2024-10-21

I'm trying to use reiti/ring/malli for both validation and coercion, through :parameteres/`:responses`. I'm defining these per http-method, e.g.

["/foo" 
  {:get {:parameters {:path ,,,}
            :handler my-handler}}]
This seems to work fine for validation, but not for coercion, which only seems to work if the parameters key is in the route data directly...
["/foo" 
  {:parameters {:path ,,,}
   :get {:handler my-handler}}]
is that right? or am I holding it wrong? nevermind, I was in fact holding it wrong

👍 2