Till now we are validating the simple form of data such as primitive values coming in the request. But to validate the objects, nested objects, or complex forms of data we can use the JOI package to validate against a schema, and this technique is called Schema-based validation. In this video, we will learn Schema-based validation by creating a custom validation pipe.
▬▬▬▬▬▬ 🔗 Links ▬▬▬▬▬▬
► GitHub (Source code): https://bit.ly/3AFn0NM
► NestJS - Custom Pipes | ParseDatePipe - Part 1 : • NestJS #22 - Custom Pipes | ParseDate...
▬▬▬▬▬▬ 📚 CHAPTERS ▬▬▬▬▬▬
00:00 - Introduction
00:47 - Task Overview - Data Format & DTO
03:07 - Data Validation Schema - JOI package
07:02 - JOI Validation Pipe - Custom Pipe
11:31 - Validation Error Messages
12:43 - Limitations
13:47 - Closing notes
▬▬▬▬▬▬ 🔖 RECOMMENDED COURSES ▬▬▬▬▬▬
🎬 Angular In-Depth (Hindi) - https://bit.ly/34nHrBh
🎬 Angular Architecture - • 1. Angular Architecture | Angular In ...
🎬 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 d...
🎬 RxJS - Introduction to Reactive programming - • 1. RXJS - Introduction to Reactive pr...
▬▬▬▬▬▬ 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 #joi_nodejs #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