NestJS · Junior · Question 29 of 75

What does a pipe do in Nest?

Explanation

If validation fails, the pipe throws and the handler isn't called. Built-in pipes include ParseIntPipe, ParseUUIDPipe and ValidationPipe.

Further reading

Problem with a question

NestJS · Junior · question 29

Test yourself

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

Take this quiz