LearnBoost/mongoose — pull request #1214 by RGBboy (2012-11-15 04:31:57+00:00)
Title: multiple validator errors

Fixes #1104

This fix changes the way validator errors are added to the validation error. When multiple errors occur for a property, an array is created and populated with all the validator errors.

A test has also been added to schema.test.js

Let me know if this fits the bill.