You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The coercion matcher function (str in this case) is being passed the keyword :schema-generators.complete/missing, which I think is the bug.
It looks like the main reason this doesn't have more pervasive effects is that the default coercion matchers in the schema library will throw exceptions in various ways when passed a keyword, and are wrapped in exception handling that suppresses those exceptions.
The text was updated successfully, but these errors were encountered:
Thanks for the report. Yeah, it looks like we should check for ::missing first and directly fall through to the completion rather than calling the coercion first in that case. Does that seem like the right behavior to you? (PR welcome!)
I've isolated some strange behavior that I suspect is a bug, or else I'm misunderstanding how the coercion matchers are supposed to be used.
The following test (that I wrote to explain this) fails:
The coercion matcher function (
str
in this case) is being passed the keyword:schema-generators.complete/missing
, which I think is the bug.It looks like the main reason this doesn't have more pervasive effects is that the default coercion matchers in the schema library will throw exceptions in various ways when passed a keyword, and are wrapped in exception handling that suppresses those exceptions.
The text was updated successfully, but these errors were encountered: