-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
How about extending this project with some new decorators that would make use of the fact that both libraries are available?
For example: instead of using @Type(() => Foo) and @IsInstance(Foo, {each: true}) and @IsArray() one could use a single decorator like @IsArrayOf(Foo) which would configure both class-transformer and class-validator with less code.
MichalLytek, czuba-artur, drudkovskiy, kbkk, dieeisenefaust and 1 more