Skip to content

Commit

Permalink
Update built-in-validators.md
Browse files Browse the repository at this point in the history
Example error: *The length of 'Surname' must be at least 10 characters. You entered 20 characters.*
==> Example error: *The length of 'Surname' must be at least 10 characters. You entered 5 characters.*
  • Loading branch information
MomenBazzar authored and JeremySkinner committed Sep 9, 2022
1 parent adf5b00 commit b6b7faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/built-in-validators.md
Expand Up @@ -143,7 +143,7 @@ Example:
```csharp
RuleFor(customer => customer.Surname).MinimumLength(10); //must be 10 chars or more
```
Example error: *The length of 'Surname' must be at least 10 characters. You entered 20 characters.*
Example error: *The length of 'Surname' must be at least 10 characters. You entered 5 characters.*

Note: Only valid on string properties.

Expand Down

0 comments on commit b6b7faa

Please sign in to comment.