NestJS Basics#11 - Pipes in NestJS
Transformation and Validation
Welcome to Part 11 of the NestJS Basics course.
In the previous post, we looked at interceptors in NestJS. The main topics were as follows:
What is a NestJS interceptor?
Understanding the concept of Aspect-Oriented Programming
Creating a NestJS Interceptor
Binding the Interceptor
controller-scoped
method-scoped
global-scoped
If you haven’t gone through it yet, you can check out the post on the NestJS interceptors below:
In today’s post, I’m going to introduce the concept of pipes in NestJS. This is the last major fundamental concept in NestJS.
The Plan
Here are the things we will cover:
What is a Pipe?
How to use a built-in pipe?
Customizing the built-in pipe



