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
Originally reported as metosin/reitit#632. Moving it here because it's a malli bug.
Similar to metosin/reitit#407, except that the maps are closed and contain optional keys. For example,
(malli.core/decode [:or [:map {:closed true} [:x {:optional true} int?]] [:map {:closed true} [:y {:optional true} keyword?]]] {:y :foo} malli.transform/strip-extra-keys-transformer)
should return {:y :foo} but actually returns {}.
{:y :foo}
{}
The text was updated successfully, but these errors were encountered:
Previously, #201
Sorry, something went wrong.
strip-extra-keys-transformer
map-of
No branches or pull requests
Originally reported as metosin/reitit#632. Moving it here because it's a malli bug.
Similar to metosin/reitit#407, except that the maps are closed and contain optional keys. For example,
should return
{:y :foo}
but actually returns{}
.The text was updated successfully, but these errors were encountered: