Skip to content

No Error when working with Arrays #105

@vinodKumarPula

Description

@vinodKumarPula

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions