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 first two calls to schema.validateSync pass, as expected. The third call that validates { foo: 'bar', date: 'hi' } also passes validation, which seems wrong. 'hi' is not a valid date, and date() wouldn't accept this value outside of a while() block.
I'm on yup@0.26.6.
The text was updated successfully, but these errors were encountered:
Given this code:
The first two calls to
schema.validateSync
pass, as expected. The third call that validates{ foo: 'bar', date: 'hi' }
also passes validation, which seems wrong.'hi'
is not a valid date, anddate()
wouldn't accept this value outside of awhile()
block.I'm on
yup@0.26.6
.The text was updated successfully, but these errors were encountered: