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

Add a basic file(s) interceptor/decorator for Fastify #12695

Closed
1 task done
xegulon opened this issue Nov 6, 2023 · 1 comment
Closed
1 task done

Add a basic file(s) interceptor/decorator for Fastify #12695

xegulon opened this issue Nov 6, 2023 · 1 comment
Labels
needs triage This issue has not been looked into type: enhancement 🐺

Comments

@xegulon
Copy link

xegulon commented Nov 6, 2023

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

I have an issue while trying to use nestjs with Express and Fastify interchangeably, because nestjs/platform-fastify does not implement a decorator/interceptor for multipart form data files.

Describe the solution you'd like

The counterpart of FileInterceptor, UploadedFiles for nestjs+fastify

Teachability, documentation, adoption, migration strategy

Adapting the docs for https://docs.nestjs.com/techniques/file-upload

What is the motivation / use case for changing the behavior?

It's an addition, not a modification of something already existing

@xegulon xegulon added needs triage This issue has not been looked into type: enhancement 🐺 labels Nov 6, 2023
@jmcdo29
Copy link
Member

jmcdo29 commented Nov 6, 2023

There's an open PR to integrate fastify-mutler that's been open for a while. There's also @nest-lab/fastify-multer to bring a FileInterceptor for fastify, and soon to be a @nest-lab/multer that integrates any multer so long as the user provides the multer instance. I need to create that last one though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue has not been looked into type: enhancement 🐺
Projects
None yet
Development

No branches or pull requests

3 participants