Fork me on GitHub
#malli
<
2021-01-11
>
hansbugge15:01:29

None of the comparator schemas have default error messages, e.g.,

(-> (m/explain [:> 0] -1)
    :errors first me/error-message)
;; => "unknown error"
Is there a good reason why some simple error functions haven't been added to malli.error/default-errors other than "no-one has done it yet"? 🙂

hansbugge15:01:53

I've opened a PR with suggestions for some simple error functions https://github.com/metosin/malli/pull/332

ikitommi18:01:53

Merged the PR, thanks!

👍 3