Skip to content

[Feature] fastify-multipart interceptors #6894

@maronfranc

Description

@maronfranc

Feature Request

Platform Fastify FileInterceptor, FilesInterceptor, AnyFilesInterceptor and FileFieldsInterceptor

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

There is a fastify-multer pull request and @emagnier asked to consider adding a fastify-multipart version.

Describe the solution you'd like

I implemented a fastify-multipart wrapper that works in a similar way as platform-express interceptors.
I'd like to create a PR, so we can discuss if it is a good solution.

Teachability, Documentation, Adoption, Migration Strategy

The documentation will be almost same as it is, the main difference is that the uploaded file interface is a modified version of fastify-multipart MultipartFile interface.

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

File upload for platform-fastify.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions