pillarjs/discussions

querystring stuff

Opened this issue · 5 comments

i think @dougwilson and i discussed a querystring parser/stringifier that is more configurable and strict. specifically, i only ever want strings. haven't looked at the issue right now.

+1000; basically a way to get predictable types back

👍 We use querystring build into node core and then use our JSON schema definition of the HTTP request so that we can get predictable types.

We return a validation error from the querystring parser if it doesnt match the schema.

yeah, maybe just add a validation/transformation step and use existing querystring module?

We could at first, but it would make it slightly slower :)

👍 from all the people who don't need all the extra qs stuff. (fast would be nice though...)