We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maybe lift the ErrorSchema protocol from malli.error to malli.core to enable setting the custom errors like this:
(m/-simple-schema {:type :symbol, :pred symbol?, :error/message {:en "should be symbol"}}})
The text was updated successfully, but these errors were encountered:
This will be fixed in #255 .
Sorry, something went wrong.
(-> (m/-simple-schema {:type :symbol :pred symbol? :type-properties {:error/message {:en "should be symbol"}}}) (m/explain "invalid") (me/humanize)) ; => ["should be symbol"]
Successfully merging a pull request may close this issue.
Maybe lift the ErrorSchema protocol from malli.error to malli.core to enable setting the custom errors like this:
The text was updated successfully, but these errors were encountered: