-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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 the old querystring in favor of URLSearchParams? #38231
Comments
No |
I'm OK with encouraging folks to use the newer and better stuff. Do that in the docs by all means. But adding a warning to
Yes, people should know about the newer and better stuff. But that's going to have to be the job of documentation and tutorials. As I said before, whether a warning is a service or disservice to users is an open question. But I don't think it would be anywhere near enough to balance the downside. |
I'd be fine with marking it as |
Signed-off-by: James M Snell <[email protected]> Fixes: nodejs#38231
Signed-off-by: James M Snell <[email protected]> Fixes: #38231 PR-URL: #38436 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Signed-off-by: James M Snell <[email protected]> Fixes: #38231 PR-URL: #38436 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Signed-off-by: James M Snell <[email protected]> Fixes: #38231 PR-URL: #38436 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Signed-off-by: James M Snell <[email protected]> Fixes: #38231 PR-URL: #38436 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Signed-off-by: James M Snell <[email protected]> Fixes: #38231 PR-URL: #38436 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
What do you think? should a warning be shown if someone is requiring the querystring?
?key=val
the you would expect that it would be a stringBut if someone where to add it twice
?key=val&key=val2
then it becomes an array and your application would do unexpected things.The text was updated successfully, but these errors were encountered: