We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If query object has array, it will not be formatted query = { a:{b:[1,2]},c:1} will result in a=&c=1
The text was updated successfully, but these errors were encountered:
I have the same problem.
querystring@0.2.0 is used under the hood for formatting the query. See
querystring@0.2.0
node-url/url.js
Line 410 in 13a35bd
Unfortunately the querystring package does not stringify objects: https://github.com/Gozala/querystring/blob/master/encode.js#L24
querystring
I was only using pathname and query, so qs (which supporst stringifying nested objects) will do for me.
pathname
query
qs
Sorry, something went wrong.
No branches or pull requests
If query object has array, it will not be formatted
query = { a:{b:[1,2]},c:1}
will result in a=&c=1
The text was updated successfully, but these errors were encountered: