-
-
Notifications
You must be signed in to change notification settings - Fork 727
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
Allow qs parser to receive options #427
Comments
duplicate of #60 . If not, please let us know and we can always re-open. |
It is not. It's looks like. And I strongly disagree with your point mentioned in several of the issues. But also I fail to see if would be problematic to have this property enabled - { strictNullHandling: true } |
Hi @iwaduarte I'm sorry you feel that way. Unfortunately that is the nature of modules: there are folks who run them and make decisions on what is and what is not part of it. This module is licensed under MIT and you are welcome to fork it if using the text parser + qs is not a workable solution for your use-case. |
FWIW PR #282 implements the intended solution that would allow you to use any options anyone wants with |
My case is very trivial but it seems unsupported. I want to be able to separate between null and empty values.
What I would expect:
// qs library - https://github.com/ljharb/qs
_// bodyParser (what would seem practical to implement) _
bodyParser.urlencoded({extended: true, {strictNullHandling: true }})
What do I have: Nothing likely is currently implemented.
I was digging through the library and I found several attempts to make the parser more configurable. Maybe it is time to have a flexible way of exploring your default (extended) parser ?
#46
#55
I could also provide a pull request. It seems to me that it is a straight-forward feature.
The text was updated successfully, but these errors were encountered: