-
Notifications
You must be signed in to change notification settings - Fork 118
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
Multipart and body parsers #308
Comments
Hmm, it looks parser's conflict is solved by time. Yes, please create a PR with the fixes. Thanks in advance! |
As good as done. Though we made a few more tests to double-check the behavior. |
furanzujin
added a commit
to furanzujin/site
that referenced
this issue
Apr 20, 2022
see [moleculer-web/issues/#308](moleculerjs/moleculer-web#308)
I have no idea. You can check the busboy source code. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @icebob,
In the File upload aliases section of the documentation, a note indicates that:
As we need to use both multipart and the JSON body parser on the same route, we experimented a bit with this use case on an auto-aliased route.
Moleculer web routes settings
Service definition
Using the above configurations, it appeared that the three types of routes (standard, multipart, and stream) work together on the same route despite the documentation note.
It is quite good news for us but is this behavior expected to last in further versions?
In this case, shall we create a pull request to fix the documentation?
NOTE: also the documentation (Multipart parameters) indicates the
ctx.params.$params
contains parameters from URL querystring, though it appears they are inctx.meta.$params
instead.The text was updated successfully, but these errors were encountered: