Skip to content
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

feat(express): add docs for proposed multer.none support #2747

Merged
merged 1 commit into from Jul 11, 2023

Conversation

mathewtrivett
Copy link
Contributor

@mathewtrivett mathewtrivett commented May 30, 2023

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Docs
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

I am implementing a feature that uses the Sendgrid Inbound Parse API. This sends the data encoded as multipart/form-data however the payload includes no files. I believe all data are sent as strings/text.

I reached for the Nest.js MulterModule but it currently does not support multer's none option. multer.none parses only the text fields in the body and raises an exception if any files are submitted.

What is the new behavior?

There is a PR on the main nest project that introduces a new NoFilesInterceptor as part of the MulterModule. This PR is the documentation counterpart to this proposed addition. nestjs/nest#11667

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@kamilmysliwiec kamilmysliwiec merged commit d33dbc4 into nestjs:master Jul 11, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants