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
I'm using [email protected] and attempting a multi-validator schema to represent the union type string | boolean | null while disallowing undefined but this is not working as I expect.
According to the docs:
If you want disallow undefined value but allow null value, use nullable instead of optional.
I'm using
[email protected]
and attempting a multi-validator schema to represent the union typestring | boolean | null
while disallowingundefined
but this is not working as I expect.According to the docs:
The third test should pass since both schemas are
nullable
. Instead I see the follow results from the validator:Let me know if I a missing something and thanks for taking a look!
The text was updated successfully, but these errors were encountered: