In the NestJS framework, the Pipes are used to transform and validate the data. We can apply pipes to Query params, Route params, and Request Body. In this video, we will look into the built-in pipes for data transformation. We will cover the below-listed transformation pipes.
Transformation Pipes covered
✱ ParseIntPipe
✱ ParseFloatPipe
✱ ParseBoolPipe
✱ DefaultValuePipe
▬▬▬▬▬▬ 🔗 Links ▬▬▬▬▬▬
► GitHub (Source code): https://bit.ly/3AgP1et
► NestJS - Dependency Injection Complete Guide : • NestJS #10 - Dependency Injection | IOC Co...
► NestJS - Setting HTTP Status Codes & Headers : • NestJS #5 - Sending Response | Setting HTT...
▬▬▬▬▬▬ 📚 CHAPTERS ▬▬▬▬▬▬
00:00 - Introduction
00:46 - Need of Pipes
01:55 - ParseIntPipe
03:11 - 400 Bad Request Message
04:02 - Pipe Options
05:17 - @UsePipes
08:44 - ParseFloatPipe
10:09 - ParseBoolPipe
11:07 - DefaultValuePipe
12:48 - Chaining Pipes
13:33 - Closing notes
▬▬▬▬▬▬ 🔖 RECOMMENDED COURSES ▬▬▬▬▬▬
🎬 Angular In-Depth (Hindi) - https://bit.ly/34nHrBh
🎬 Angular Architecture - • 1. Angular Architecture | Angular In Depth...
🎬 NestJS Framework | Backend Development (Hindi) - https://bit.ly/3titPk3
🎬 RxJS - The Practical Guide (Hindi) - https://bit.ly/3GBcXsf
🎬 RxJS - Promise vs Observable | A depth comparison - • 5. RXJS - Promise vs Observable | A depth ...
🎬 RxJS - Introduction to Reactive programming - • 1. RXJS - Introduction to Reactive program...
▬▬▬▬▬▬ CONNECT WITH ME 👋 ▬▬▬▬▬▬
🐦 Twitter: / akacomputerbaba
🏠 Discord: https://bit.ly/3Js25iy
👓 GitHub: https://github.com/cistroncoder
📧 Email: [email protected]
💙 Join this channel
/ computerbabaofficial
▬▬▬▬▬▬ 🎻 MUSIC ▬▬▬▬▬▬
🎵 Fresh Start - Joakim Karud
https://freesound.org
▬▬▬▬▬▬ # HASHTAGS ▬▬▬▬▬▬
#AmazingNestjs #nestjs #computer_baba #validation #pipes #nestjs_pipes #data_transformation #microservices #dependency_injection #ioc_container #routing #nestjs_project #nodejs #rest_api #http #expressjs #fastify #graphql #mongodb #sql #typeorm #microservices #backend_development #javascript #typescript #rxjs #json