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
z.discriminatedUnion should be doing automatic type coercion like a normal schema that just uses a z.object but it doesn't seem to do that. Everything works fine if i add .coerce to the failing fields in my schema.
Describe the bug and the expected behavior
z.discriminatedUnion
should be doing automatic type coercion like a normal schema that just uses az.object
but it doesn't seem to do that. Everything works fine if i add.coerce
to the failing fields in my schema.Conform version
0.9.0
Steps to Reproduce the Bug or Issue
Fails validation with the following error:
Form:
What browsers are you seeing the problem on?
No response
Screenshots or Videos
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: