leepowelldev / mongoose-validator

Validators for mongoose models utilising validator.js
MIT License
378 stars 43 forks source link

Vlidator are not working width .validateSync() #35

Closed perekrestov-igor closed 7 years ago

perekrestov-igor commented 8 years ago

When use instance.validateSync(), validator never return еrror

leepowelldev commented 8 years ago

Can you provide a working example?

On 9 Aug 2016, at 15:36, perekrestov-igor notifications@github.com wrote:

When use instance.validateSync(), vllidator never return еrror

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.