Fastest Validation Combined with nestjs
@ @ prop7: string; @ @ prop1: string; @ prop2: "one" | "two"; @ prop3: string; @ prop4: number; @ prop5: NestedEntity; @ prop6: NestedEntity;
Then in your controller
add the class
:
@ : string return ;
And in the main.ts` add these lines:
app;app;