-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
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
:ref fing unqualified keyword throws :invalid-ref #1107
Comments
Currently malli only allows strings, vars and qualified symbols/keywords. This is probably to avoid conflicting with the built-ins. Line 191 in bc80f3f
|
@opqdonut thanks for the link.
Hm, presently one may set a custom schema under a :keyword that some built-in schema usually uses. If not, perhaps would be best to shown a warn/error at the step where you try to register. |
Yeah the docs and the error messages could be better here, agreed. I don't know why bare keywords are not allowed for refs. @ikitommi is probably the only one who knows. |
I guess throwing wasn't intended, as
:ref
can be used with strings (so not required to have refs qualified)The text was updated successfully, but these errors were encountered: