Open Inoir opened 11 months ago
oh yea i dont think i did anything special for validateif. thanks for reporting.
I'll get to this before the end of the year hopefully
I've added a PR to implement this requested feature. First time for me, let me know what I've missed.
If you use ValidateIf in combination with IsDefined on an optional marked property in TS, the linter shows missing IsOptional decorator.
This should be valid. Currently @darraghor/nestjs-typed/all-properties-have-explicit-defined throws: Optional properties must have @IsOptional() decorator