Fork me on GitHub
#reitit
<
2021-10-27
>
Yehonathan Sharvit12:10:33

Are coercion and validation two separate steps in reitit or as soon as I define coercion the validation occurs?

ikitommi12:10:01

@viebel one step, libs like malli do it internally in two steps: 1) transform 2) validate, so both the raw and transformed values are available on validation errro

Yehonathan Sharvit12:10:33

Thank you @ikitommi Is it possible to enable/disable coercion per route tree?