Open eisneim opened 9 years ago
i looked into the code ,there is a
// var opt = opt || {};
it would be useful if i can set type of this.errors( which defaults to an array ), so i don't have to modify the "this.error" object to proper handling or logging;
i remember express-validator can do that;
i looked into the code ,there is a
it would be useful if i can set type of this.errors( which defaults to an array ), so i don't have to modify the "this.error" object to proper handling or logging;
i remember express-validator can do that;