lykmapipo / sails-hook-validation

Custom validation error messages for sails model with i18n support
104 stars 29 forks source link

Model.validate optional argument #44

Closed boycce closed 7 years ago

boycce commented 8 years ago

Hey, sails model.validate only requires an obj and a callback, however presentOnly is required when its monkey patched here.