leepowelldev / mongoose-validator

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

Adding optional type to validator error #24

Closed rodriguise closed 9 years ago

rodriguise commented 9 years ago

The PR is paired with the following mongoose PR request.

https://github.com/LearnBoost/mongoose/pull/2712

leepowelldev commented 9 years ago

Thanks. If you could update the readme to reflect the new option I will get this merged asap.

rodriguise commented 9 years ago

I am waiting on PR https://github.com/LearnBoost/mongoose/pull/2717 to drop in the mongoose master branch. Once that is done I will update the readme and perform another PR here.

rodriguise commented 9 years ago

Changing due to advisory from mongoose team.