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

Validators are being ignored when type is an array #37

Open
diegohaz opened this issue Jun 6, 2018 · 0 comments
Open

Validators are being ignored when type is an array #37

diegohaz opened this issue Jun 6, 2018 · 0 comments

Comments

@diegohaz
Copy link
Owner

diegohaz commented Jun 6, 2018

Reported by @J-F-Liu in #35 (comment)

schema({
  correctOptions: {
    type: [String],
    minlength: 1,
  },
});

with this code, the minlength validator is ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant