NestJS · Middle · Question 67 of 75

Why might ValidationPipe not reject unknown query parameters by default?

Explanation

Enable both options globally to make the API strict about its inputs.

Further reading

Problem with a question

NestJS · Middle · question 67

Test yourself

Take the NestJS · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz