you can't use a type-only import as that would be erased at runtim
validate the correctness of any data sent into a web application
automatically validate incoming requests, Nest provides several pipes available right out-of-the-box:
powerful class-validator package and its declarative validation decorators
provides a convenient approach to enforce validation rules for all incoming client payloads
thus ensuring all endpoints are protected from receiving incorrect data.
TypeScript does not store metadata about generics or interfaces, when you use them in your DTOs
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.