Top Tweets for #classvalidator
When designing forms or APIs, sometimes a field’s requirement depends on the value of another field. Here's a clean and simple way to implement conditional validation in your NestJS DTO using the class-validator package.
#TypeScript
#JavaScript
#DTO
#NestJS
#ClassValidator

In a login scenario, our server will require user #email and #password. To achieve this, a validation library preferably #classValidator and #classTranformer is required. They provide decorators that handle email and password validation.
🚀 Just learned about using NestJS and class-validator to create a decorator called OneOf for better developer experience and validation in your app. Check out @MohammadJawadBarati's post for the details! #NestJS #ExpressJS #classvalidator #developerexpe… https://t.co/7KbcViohTM
Last Seen Hashtags on Sotwe
Trends for you
Most Popular Users

Elon Musk 
@elonmusk
240.1M followers

Barack Obama 
@barackobama
119.3M followers

Donald J. Trump 
@realdonaldtrump
111.6M followers

Cristiano Ronaldo 
@cristiano
108.9M followers

Narendra Modi 
@narendramodi
107M followers

Rihanna 
@rihanna
97.3M followers

NASA 
@nasa
92.1M followers

Justin Bieber 
@justinbieber
90.6M followers

KATY PERRY 
@katyperry
86.8M followers

Taylor Swift 
@taylorswift13
80.6M followers

Lady Gaga 
@ladygaga
72.1M followers

Kim Kardashian 
@kimkardashian
69.4M followers

YouTube 
@youtube
68.6M followers

Virat Kohli 
@imvkohli
68.5M followers

Bill Gates 
@billgates
63.4M followers

The Ellen Show
@theellenshow
62.5M followers

CNN 
@cnn
61.9M followers

Neymar Jr 
@neymarjr
61M followers

X 
@x
60.9M followers

CNN Breaking News 
@cnnbrk
59.9M followers


