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
Let's say I have this schema:
[:map {} [:id/house [:qualified-keyword {:namespace :house}]] [:house/address string?]]
If I generate the value I get this output:
{:id/house :a.../IJ9-7RW :house/address "EHL2302t6Afp79tX79A"}
But if I try to validate it I get a false. But if I change the generated value into this then it passes:
false
{:id/house :house/IJ9-7RW :house/address "EHL2302t6Afp79tX79A"}
I think that the generated value should be the same as the fixed value. i.e. the namespace of the generated keyword should be house.
house
Example test:
(malli/validate [:map {} [:id/house [:qualified-keyword {:namespace :house}]] [:house/address string?]] (mg/generate [:map {} [:id/house [:qualified-keyword {:namespace :house}]] [:house/address string?]]))
It also doesn't work with a string.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Let's say I have this schema:
If I generate the value I get this output:
But if I try to validate it I get a
false
.But if I change the generated value into this then it passes:
I think that the generated value should be the same as the fixed value.
i.e. the namespace of the generated keyword should be
house
.Example test:
It also doesn't work with a string.
The text was updated successfully, but these errors were encountered: