Validators are being ignored when type is an array
diegohaz opened this issue · comments
Haz commented
Reported by @J-F-Liu in #35 (comment)
schema({
correctOptions: {
type: [String],
minlength: 1,
},
});
with this code, the minlength
validator is ignored.