Great video. Maybe its worth mentioning that there is also a "bail" option that breaks the validation chain when a rule check fails. So that it is not necessary to check the length when a field is empty or not a string.
@ramiworkstation7 ай бұрын
I subscribed because you are nice and I liked you. I enjoy learning from you. Thank you 🌻
@mirzakhursheedabbas41843 ай бұрын
Simply saying in this section u rocked❤ .your content is >>>>>>> than my paid courses huge respect from india.Than q so much sir for providing this kind of lectures😍
@QQmatt-c5i5 ай бұрын
I am wondering which auto formatter do you use. It's so great.
@chagantisubhash5 ай бұрын
Great video!! Please add more.
@mahendranath250410 ай бұрын
Nice thank you so much
@pavankumar-of4ew7 ай бұрын
i am still getting the error in video17:32
@ibrahimhassoun25954 ай бұрын
Thank you!
@mohmmaadsd670310 күн бұрын
your best
@PSKI15 ай бұрын
Matur suwun bro
@laiiyabro10559 ай бұрын
bro how to validate the contact number and any int number (is a number between 0 - 5 like this)
@ansonthedev9 ай бұрын
You can use a regular expression to validate a phone number to ensure it matches a specific pattern. To validate numeric values you can just check if its within range by checking if it's greater than 0 or less than 5.
@WhyNot-fp6cv3 ай бұрын
How if incoming from client = JSON.stringify ? Because in server side need to JSON.parse before.
@ansonthedev3 ай бұрын
If you pass nested objects they will not parse correctly on the server. So the server needs to handle the JSON in a string format.
@anishbishnoi29xD9 ай бұрын
Please make video zod with express js. 😊
@tomassabol5910 ай бұрын
how is this better compared to libs like zod or arktype?
@ansonthedev10 ай бұрын
I don't think the purpose of this video is to say it is better than other libraries, the point is to show the importance of validation. You can use whatever library you want to achieve it, but my goal is to show when to do it and how. If you don't like express-validator you can use something else, all you need to do is just make sure the library you use is validating the data before you use it.
@WhyNot-fp6cv4 ай бұрын
U tutorial title with tutor title before and before, code stack so confused!. Why not created clean code every tutorial title.