Closed Ewerton closed 8 months ago
I'll bring this in separately since it's breaking change.
Package | Line Rate | Branch Rate | Complexity | Health |
---|---|---|---|---|
Ardalis.Result.AspNetCore | 54% | 60% | 159 | ➖ |
Ardalis.Result.Sample.Core | 38% | 38% | 63 | ❌ |
Ardalis.Result.SampleWeb | 66% | 50% | 43 | ➖ |
Ardalis.Result | 38% | 24% | 137 | ❌ |
Ardalis.Result.FluentValidation | 0% | 0% | 6 | ❌ |
Summary | 48% (497 / 1041) | 45% (114 / 256) | 408 | ❌ |
Auto-evaluate the Status property when Errors ou ValidationErrors are added to the result. It only works when the result is created as Ok(), Error() ou Invalid().
The following unit test describes the functioning of this PR