Open ablipan opened 8 years ago
@ablipan
sails-hook-validation
works only with model static methods only i.e
create()
createEach()
findOrCreate()
findOrCreateEach()
update()
and other static model method that invoke Model.validate()
For instance method consider using sails-model-new
Hope it helps.
the
err.Errors
is undefined.