Matteo Collina
Matteo Collina
Note that your code is not correct. Check out https://github.com/fastify/fastify-multipart#parse-all-fields-and-assign-them-to-the-body for the `attachFieldsToBody` option. You can use that together with `await request.file()`, we should throw an error if those are...
> I see, so it would be helpful if we can use request.file() and have validation in the same time, instead of relying on buffers only to have validation to...
Would you like to send a Pull Request to address this issue? Remember to add unit tests.
I transfered this to fastify-swagger
Would you like to send a Pull Request to address this issue? Remember to add unit tests.
Thanks for reporting! Can you provide steps to reproduce? We often need a [reproducible example](https://stackoverflow.com/help/minimal-reproducible-example), e.g. some code that allows someone else to recreate your problem by just copying and...
Thanks for reporting! Would you like to send a Pull Request to address this issue?
Seems about right, it is the next server after all ;).
Can you please include a reproducible example? It might be straightforward but it will greatly simplify fixing it. You could also send a PR, it would be highly welcomed.