Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mongoose schema #31

Open
mancvso opened this issue Apr 9, 2015 · 0 comments
Open

Mongoose schema #31

mancvso opened this issue Apr 9, 2015 · 0 comments

Comments

@mancvso
Copy link

mancvso commented Apr 9, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant