NestJS - Pipes
Which of the following is the correct way to apply a file validation pipe to a file upload in a NestJS controller?
@UsePipes() decorator.FileValidationPipe is a pipe, so it must be passed inside @UsePipes() to validate the uploaded file.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions