querystring stuff
Opened this issue · 5 comments
jonathanong commented
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.
dougwilson commented
+1000; basically a way to get predictable types back
Raynos commented
👍 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.
rlidwka commented
yeah, maybe just add a validation/transformation step and use existing querystring module?
dougwilson commented
We could at first, but it would make it slightly slower :)
Fishrock123 commented
👍 from all the people who don't need all the extra qs
stuff. (fast would be nice though...)