File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -576,8 +576,8 @@ must be applied always no matter which group is used.
576
576
## Validation option validateIf
577
577
578
578
If you want an individual validaton decorator to apply conditionally, you can you can use the option ` validateIf ` available to all validators.
579
- This allows more granular control than the ` @ValidateIf ` decorator which toggles all validators on the property, but keep in mind that
580
- with great power comes great responsibility: Take care not to create unnecessarily complex validation logic.
579
+ This allows more granular control than the ` @ValidateIf ` decorator which toggles all validators on the property, but keep in mind that
580
+ with great power comes great responsibility: Take care not to create unnecessarily complex validation logic.
581
581
582
582
``` typescript
583
583
class MyClass {
You can’t perform that action at this time.
0 commit comments