Baggz/Amanda — Issue #19: singleError fails with custom validators
Author: leondealmeida
Created: 2012-01-31 18:32:23+00:00
State: open

Creating a schema and then calling the validate method with added custom validators while setting `{ singleError: false }` on the method call returns no errors to the callback. Removing the `{ singleError: false }` makes it work again. It seems the issue lies not on the value provided for `singleError`, as passing `{ singleError: true }` also breaks the validation error returns. My tests have shown that, even though the error objects are not returned, the custom methods *do* run.