You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I want to reuse models definitions to avoid duplicating validation rules.
Currently I'm trying to implement restify-mongoose on top of node-restify-validation but I need to write twice the validation logic.
Any poniters on how to extend the validation object rules to admit a Mongoose Schema?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi!
I want to reuse models definitions to avoid duplicating validation rules.
Currently I'm trying to implement restify-mongoose on top of node-restify-validation but I need to write twice the validation logic.
Any poniters on how to extend the validation object rules to admit a Mongoose Schema?
Thanks in advance.
The text was updated successfully, but these errors were encountered: