DEV Community

Discussion on: [Nestia] Boost up NestJS server much faster and easier (maximum 20,000x faster + tRPC similar)

Collapse
 
samchon profile image
Jeongho Nam

Why asynchronous validation is required in DTO level?

Can you give me an exmaple case?

Collapse
 
galwa profile image
Gal

Any use case were it doesnt make sense to seperate the buissness logic validation from the DTO itself for rexample You have DTO A that Point to DTO B and yuwant validate the B exists