-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
Decoder function not being called #284
Comments
ok, my bad. const queryString = req.originalUrl.substr(req.originalUrl.indexOf('?')+1) That said, qs seems to be able to parse from a dictionary (req.query object). In that case wouldn't this make sense to apply the decoder function as well? |
It's true that |
@ljharb Indeed, I realized my mistake afterward. I did not realized immediatly because I was getting proper results besides not having the decoder function being executed. Yes, it seems that one can get qs feature using body-parser extended mode. However, the documentation is quite slim and I didn't want to fight hours in order to find the proper way to use it. |
Hi,
I'm getting crazy with this but for some reason the decoder function seems to never be called.
Here is my code:
When I send a request:
I get the following result:
To summarize, evrrything seems to work properly except that the decoder function seems to never be called (and of course, I don't have any console.log output from inside the function).
I noticed that someone in the following comment (#91 (comment)) that someone is saying that this doesn't seem to work for him but not sure if he doesn't like the result or if he encounters the same problem as I do.
Any idea regarding what could go wrong ?
Thanks
The text was updated successfully, but these errors were encountered: