fastify-multer
fastify-multer copied to clipboard
Fastify plugin for handling multipart/form-data
I tried every possible way and within my request there is no file or file properties, I did everything in the documentation, I did the configuration, I even did a...
I've created a project with Fastify & Typescript and used [Bun](https://bun.sh/) as a run time. In dev mode, the request does not return any response after uploading an image. However,...
I tried list my files after upload and returns a empty array, works with diskStorage save buts not with cloudinary `app.post(` ` '/endpoint', ` ` {preHandler: upload.array('files', 2)},` ` async...
Hi, When using the preHandler hook, I always get a "body must be object" error with fastify V4 : ```json { "statusCode": 400, "error": "Bad Request", "message": "body must be...
I am coming from an express project and I would like to upload files to an s3 bucket. In express I used this package https://www.npmjs.com/package/multer-s3. Is there any similar packages...
https://github.com/fox1t/fastify-multer/blob/0801665b6c8d7b25cd8e68bbbc2a03a1474f83fb/src/interfaces.ts#L25-L34 Express version of multer have them all as required: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/661506820433050469e8d608e3059b0166d043be/types/multer/index.d.ts#L20-L47 I was wondering if there was a reason in particular that that some of these properties are considered optional....
Trying to use this library and setting `noUncheckedIndexedAccess` to `true` in `tsconfig.json` will result in compilation errors. I'm not sure why typescript keeps checking node_modules library when I have `skipLibCheck:...
## 🐛 Bug Report If I use the example ```js ... preHandler: upload.array('photos', 12), handler: function(request, reply) { // request.files is array of `photos` files } ``` from the README...