feat: add property path support
This commit is contained in:
parent
de2d0e2693
commit
8f54ff4e31
8 changed files with 276 additions and 49 deletions
|
|
@ -77,7 +77,7 @@ var validation = validator.Validate(new CreateUserRequest(
|
|||
|
||||
foreach (var problem in validation.Problems)
|
||||
{
|
||||
Console.WriteLine($"{problem.PropertyName}: {problem.Message}");
|
||||
Console.WriteLine($"{problem.PropertyPath}: {problem.Message}");
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue