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

qs: support hierarchical QUERY? #1767

Closed
yorkie opened this issue May 22, 2015 · 3 comments
Closed

qs: support hierarchical QUERY? #1767

yorkie opened this issue May 22, 2015 · 3 comments
Labels
feature request Issues that request new features to be added to Node.js. querystring Issues and PRs related to the built-in querystring module.

Comments

@yorkie
Copy link
Contributor

yorkie commented May 22, 2015

Even though the RFC3986 told us the QUERY should be non-hierarchical, but some libraries supported the following QUERY schema:

foo[x]=foo.x&bar[y]=bar.y

Such that how about supporting from the core module?

@silverwind silverwind added the querystring Issues and PRs related to the built-in querystring module. label May 22, 2015
@Fishrock123
Copy link
Contributor

I'd say let userland do it.. The qs module does this, I think?

@Fishrock123 Fishrock123 added the feature request Issues that request new features to be added to Node.js. label May 22, 2015
@yorkie
Copy link
Contributor Author

yorkie commented May 22, 2015

Okay, if any collaborators think this should be done at user-land, feel free to close this, thanks

@sindresorhus
Copy link

I would strongly recommend against this in core. There is no standard and the behaviour differs a lot between back-end systems. Better to just use qs if you really need this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issues that request new features to be added to Node.js. querystring Issues and PRs related to the built-in querystring module.
Projects
None yet
Development

No branches or pull requests

4 participants