var test= new Schema ({
test:[
{name:{type:String, required:true}}
]
})
Input:
test.validate({}) // throws no error
test.validate({vinod:{}}) // throws no error
test.validate({vinod:[]}) // throws no error
test.validate([]) // throws no error
I really like you library, but please give support for this It will be very helpful
Regards,
Vinod