NestJs - Pipes & Validation [07]

preview_player
Показать описание
We cover the 2 different use cases for pipes. Using the built-in out of the box pipes, and creating your own custom pipe. We also cover 2 different ways of validating request inputs in our application.

If this video was helpful, make sure to leave a like & subscribe :)

Timestamps:
---------------------
0:00- What is a pipe?
2:30- Understanding the Pipe arguments
4:43- Using a transformation pipe
8:12- Introducing Built-in pipes
9:28- Quick recap
10:53- Configuring pipes
11:44- Handling Multiple Arguments
13:42 -Throwing errors from our pipes
15:02- Using ValidationPipe
21:11- Using Joi validation
24:28- Summary
Рекомендации по теме
Комментарии
Автор

I hope you continue. I have not found anyone better than you in explaining and simplifying concepts. Even though before watching your lessons I read the documentation, but you always add something new for me, whether I did not understand it sufficiently or neglected to understand it.

omarps
Автор

Hei I love the way you make the chapters out of the video. Really easy to follow.

quang.luu.
Автор

I have really loved this series, I would love it more if you continued on testing.

algorfernand
Автор

I couldn't resist commenting😏You're an amazing creator. Thanks for this content/video.

brytebee
Автор

Thanks. Excellent explanations for the pipes.🙏🙏
I have a question: When should I use DTOs or JOI schema?

MohamedSaqr
Автор

thanks for this video, I have a question, at the minute 17:40 when you show the error message, how do I get these errors messages in the HttpExceptionsFilter

bmxandcode
Автор

Thank you for the videos 🫶🏻.
Could you please use postman’s dark theme? ☠️

badralwattar