-
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
Repeated calls to malli.util/assoc-in
referencing non-existing maps fail
#874
Labels
bug
Something isn't working
Comments
Oh, this is embarrassing. |
fixed in |
Wow, that was fast! Thank you so much for the fix and the amazing library! |
PavlosMelissinos
pushed a commit
to PavlosMelissinos/malli
that referenced
this issue
Apr 7, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
I'd expect
malli.util/assoc-in
to mirrorclojure.core/assoc-in
:Actual behavior
Temporary fix
A call to
malli.core/form
between the repeatedassoc-in
calls seems to fix the issue.Some exploration
I think the problem lies in the
assoc
call inassoc-in
, which ultimately calls-set-entries
for a-map-schema
The text was updated successfully, but these errors were encountered: