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: create fastify upload lib #25

Closed
getlarge opened this issue Feb 8, 2024 · 0 comments · Fixed by #26
Closed

feat: create fastify upload lib #25

getlarge opened this issue Feb 8, 2024 · 0 comments · Fixed by #26
Labels
enhancement New feature or request

Comments

@getlarge
Copy link
Owner

getlarge commented Feb 8, 2024

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.

@getlarge getlarge added the enhancement New feature or request label Feb 8, 2024
@getlarge getlarge changed the title feat: create fustily upload lib feat: create fastify upload lib Feb 8, 2024
@getlarge getlarge linked a pull request Feb 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant