Skip to content

Commit

Permalink
fix: format readme
Browse files Browse the repository at this point in the history
  • Loading branch information
braaar committed Jan 20, 2025
1 parent df9edf9 commit 4d6b995
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,8 @@ must be applied always no matter which group is used.
## Validation option validateIf

If you want an individual validaton decorator to apply conditionally, you can you can use the option `validateIf` available to all validators.
This allows more granular control than the `@ValidateIf` decorator which toggles all validators on the property, but keep in mind that
with great power comes great responsibility: Take care not to create unnecessarily complex validation logic.
This allows more granular control than the `@ValidateIf` decorator which toggles all validators on the property, but keep in mind that
with great power comes great responsibility: Take care not to create unnecessarily complex validation logic.

```typescript
class MyClass {
Expand Down

0 comments on commit 4d6b995

Please sign in to comment.