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

follow proposed changes in api for mw and models #69

Open
anandkumarpatel opened this issue Sep 15, 2015 · 0 comments
Open

follow proposed changes in api for mw and models #69

anandkumarpatel opened this issue Sep 15, 2015 · 0 comments

Comments

@anandkumarpatel
Copy link
Contributor

CodeNow/api#1053

models should not know where they are getting called from and should not provide middleware.
remove req,res,next from models and put them in mw. that way it will be easier to handle the websocket case as well.

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