-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Drop special 'back' case from response.redirect? #904
Comments
Maybe just deprecate it for now? Koa v2 is pretty far into its final stages. |
"only aims to save keystrokes" isn't that what programming is? Every line of code is aimed at hiding some logic to save writing it later. I'm not against removing it since it is kind of magical, but it wouldn't be too hard to say that about most getters/setters/functions/*. |
I don't like it because I often use redirections like |
For every keystroke saved by the 'magical' case, another keystroke is wasted debugging the inconsistency 😉 but what I really care about is that the issue gets settled once and for all, one way or the other. |
if anything, I would prefer this to be a symbol. |
Since How about |
koa/lib/response.js
Line 254 in 18dbf5f
expressjs/express#2692 is stuck. I thought, Koa is the future, so you may be more open to breaking changes. Sorry if I'm wrong.
The text was updated successfully, but these errors were encountered: