Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

array(schema).min() abortEarly error in >v0.29.3 #1127

Closed
vassbence opened this issue Nov 28, 2020 · 0 comments
Closed

array(schema).min() abortEarly error in >v0.29.3 #1127

vassbence opened this issue Nov 28, 2020 · 0 comments
Labels

Comments

@vassbence
Copy link

vassbence commented Nov 28, 2020

Describe the bug
All works as expected up to version v0.29.3. In >v0.30 the validate function if used with abortEarly: false flags an invalid value as correct.

To Reproduce
See second test https://codesandbox.io/s/zen-microservice-lxz42?file=/src/index.test.js

Expected behavior
The validate function should throw an error for the invalid value, no matter the abortEarly flag

@vassbence vassbence changed the title array(schema).min() abortEarly error in >v0.29 array(schema).min() abortEarly error in >v0.29.3 Nov 28, 2020
@jquense jquense added the bug label Nov 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants