Fork me on GitHub
#reitit
<
2018-08-09
>
aaron5119:08:27

We'd like to use https://github.com/siilisolutions/humanize to show human-readable schema error messages. Where should we hook that in? Do we have to write our own Coercer and a new impl of -encode-error? Is there some way to just override part of a coercer?

ikitommi20:08:12

@U3JH0P5LJ currentky yes, but maybe there could be an extra option in the schema coercion options map for handling the errors? Guess the same applies with spec (using expound etc.).