Skip to content

feat: create fastify upload lib #25

@getlarge

Description

@getlarge

Dealing with File Upload in NestJS is straightforward, as the official documentation shows. However, it differs when using Fastify adapter.

To remove the pain, one potentially good candidate developed by one of the NestJS core team members is @nest-lab/fastify-multer, but it depends on fastify-multer, which is abandoned and not maintained anymore.

Another one is nest-file-fastify, which depends on fastify-multipart, and the Fastify team maintains it. But nest-file-fastify is outdated and not maintained anymore.

Let's make a local fork of nest-file-fastify and update the fastify-multipart dependency to the latest version, so that we can add file upload/download endpoints to the tickets controller.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions