If query object has array, it will not be formatted query = { a:{b:[1,2]},c:1} will result in a=&c=1
Activity
mauvm commentedon Apr 21, 2017
I have the same problem.
querystring@0.2.0is used under the hood for formatting the query. Seenode-url/url.js
Line 410 in 13a35bd
Unfortunately the
querystringpackage does not stringify objects:https://github.com/Gozala/querystring/blob/master/encode.js#L24
I was only using
pathnameandquery, soqs(which supporst stringifying nested objects) will do for me.