Validators are being ignored when type is an array
Open
bug
help wanted
- Dominant language
- JavaScript
- Stars
- 511
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
Reported by @J-F-Liu in https://github.com/diegohaz/schm/issues/35#issuecomment-395087573
```
schema({
correctOptions: {
type: [String],
minlength: 1,
},
});
```
with this code, the `minlength` validator is ignored.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.