I'm using multer for the first time and I noticed the image is always uploaded.
Now my problem is that I would like to do some data validation on the body of the request with Joi, then move the file in the appropriate folder if the data validation is a success.
Is it possible with Multer and how would you achieve this ?
Or, is there a way to disable the automatic upload with Multer and move the file manually once the data validation is done ?
Thanks a lot for your help.