NestJS - Pipes
Which of the following is the correct way to use
DefaultValuePipe to set a default value of 10 for a query parameter named page?DefaultValuePipe to set a default value of 10 for a query parameter named page?new keyword and passed as the second argument to decorators like @Query.new DefaultValuePipe(10) is correct.new DefaultValuePipe(value) with decorator [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions