Pipes are classes that transform or validate input data before it reaches a route handler. They operate on the arguments of controller methods — either transforming them (e.g. string → number) or validating them (rejecting invalid data). Validation in NestJS is built on pipes.
Built-in transformation pipes
()
() {
..(id);
}
