class-validator
на сайте с 07 апреля 2023, 07:15
Due to nature of the decorators, the validated object has to be instantiated using new Class() syntax. If you have your class defined using class-validator ...