Skip to content

Fix cat{n} unparser with invalid value - #690

Merged
ikitommi merged 1 commit into
metosin:masterfrom
frenchy64:fix-unparser
Apr 13, 2022
Merged

ikitommi merged 1 commit into
metosin:masterfrom
frenchy64:fix-unparser

Conversation

@frenchy64

Copy link
Copy Markdown
Collaborator

The reduce-kv calls need to short-circuit on ::m/invalid.

Discovered by Typed Clojure.

The reduce-kv calls need to short-circuit on ::m/invalid.

Discovered by Typed Clojure.
@ikitommi
ikitommi merged commit 85a948a into metosin:master Apr 13, 2022
@ikitommi

Copy link
Copy Markdown
Member

thanks!

respatialized added a commit to respatialized/respatialized that referenced this pull request Apr 20, 2022
The use of malli.core/unparse seems to have been affected by the bug
fixed in metosin/malli#690. Bumping to the
latest SHA allows for the definition of parsers/unparsers that allow for
correct bidirectional conversion.

This will make things substantially easier going forward. Once a fix
lands in a tagged release of malli, these parsers/unparsers should
probably be pushed upstream to Fabricate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants