Pipe validation for @UploadFiles()
not working
#13532
Labels
needs triage
This issue has not been looked into
@UploadFiles()
not working
#13532
Is there an existing issue for this?
Current behavior
The pipe validation for the
@UploadFiles
annotation is not working, whereas the@UploadFile()
annotation is working as expectedMinimum reproduction code
https://github.com/shreyas-segu/multiple-files-upload-validation-bug
Steps to reproduce
request.txt
to execute the curl request which is not working as expected, use theSamplePNGImage_100kbmb.png
for the sample filerequest-working.txt
for the curl request which is working, you can use the same fileExpected behavior
The multiple files upload endpoint with the pipe validation should not throw any validation errors.
Package
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
Other package
No response
NestJS version
10.3.2
Packages versions
Node.js version
v20.11.0
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: