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
deprecate app.render (make private) #1942
Comments
Getting rid of these |
@dougwilson should we target this for 4.x deprecation? Tbh I can't even find app.render in the codebase.. |
https://github.com/strongloop/express/blob/master/lib/application.js#L477 |
Actually I tried to search this via in-browser find. weird. |
Any particular reason why? On Friday, November 21, 2014, Jeremiah Senkpiel notifications@github.com
|
Makes people aware of things that will be removed, and I wouldn't say this is the recommended method to use. (just render it from your template engine imo) |
The problem is we cannot easily deprecate this, because |
make app.render a proxy to app._render, call app._render from res.render?
oops, nevermind. |
Also, I didn't say there was no way, because it's possible using some |
@dougwilson how will apps work without |
@ilanbiala what apps use req.next() ? They should be calling the next() function passed as the argument to the middleware. |
Oh I thought deprecating |
First step in isolating the view system away from "app" level and towards something that can be used via middleware later.
The text was updated successfully, but these errors were encountered: