Uploaded November 2023 | Updated November 2026, 3 hours ago
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
In this NestJS DTO schemas, validation & pipes tutorial, we will build data transfer object (DTO) schemas and learn how to validate incoming requests with NestJS pipes, class validators and error handling.
π Support me on Patreon β patreon.com/davegray
β Become a full-stack web dev with Zero To Mastery Courses:
- The Complete Node.js Developer: bit.ly/CompleteNodeJS
- Advanced React: bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/nestjs-course
π Playlist for this NestJS Series: youtube.com/playlist?list=PL0Zuz27SZ-6MexSAh5x1R3rU6Mg2zYBVr
NestJS DTO Schemas, Validation & Pipes Tutorial - Series Part 4
(00:00) Intro
(00:05) Welcome
(00:27) Starter Code
(00:44) Start the Server
(01:12) Why We Need Request Validation
(02:06) NestJS Pipes
(05:36) Creating a DTO Schema
(07:48) Extending a DTO as a Partial Type
(11:40) Applying the DTOs
(14:56) Class Validators
(19:53) Applying ValidationPipe
(24:08) Built-in HTTP Exceptions
(28:51) Wrap-up
π Tutorial References:
π NestJS Official Site: nestjs.com
π Class Validators library: github.com/typestack/class-validator#validation-decorators
Was this NestJS DTO schema validation tutorial for beginners helpful? If so, please share. Let me know your thoughts in the comments.
#nestjs #dto #validation
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
In this NestJS DTO schemas, validation & pipes tutorial, we will build data transfer object (DTO) schemas and learn how to validate incoming requests with NestJS pipes, class validators and error handling.
π Support me on Patreon β patreon.com/davegray
β Become a full-stack web dev with Zero To Mastery Courses:
- The Complete Node.js Developer: bit.ly/CompleteNodeJS
- Advanced React: bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/nestjs-course
π Playlist for this NestJS Series: youtube.com/playlist?list=PL0Zuz27SZ-6MexSAh5x1R3rU6Mg2zYBVr
NestJS DTO Schemas, Validation & Pipes Tutorial - Series Part 4
(00:00) Intro
(00:05) Welcome
(00:27) Starter Code
(00:44) Start the Server
(01:12) Why We Need Request Validation
(02:06) NestJS Pipes
(05:36) Creating a DTO Schema
(07:48) Extending a DTO as a Partial Type
(11:40) Applying the DTOs
(14:56) Class Validators
(19:53) Applying ValidationPipe
(24:08) Built-in HTTP Exceptions
(28:51) Wrap-up
π Tutorial References:
π NestJS Official Site: nestjs.com
π Class Validators library: github.com/typestack/class-validator#validation-decorators
Was this NestJS DTO schema validation tutorial for beginners helpful? If so, please share. Let me know your thoughts in the comments.
#nestjs #dto #validation










