See #1695 for a detailed explanation. This change builds support into the system for the case that a model binder returns true without setting a value for the Model. In this case, validation will be skipped if it's a top-level object. Note that explicitly setting null will still run validation. |
||
|---|---|---|
| .. | ||
| Controllers | ||
| Models | ||
| Services | ||
| ViewModels | ||
| Views/Vehicle | ||
| wwwroot | ||
| CaculatorContext.cs | ||
| DefaultCalculator.cs | ||
| DefaultCalculatorContext.cs | ||
| FromNonExistantBinderAttribute.cs | ||
| FromTestAttribute.cs | ||
| ICalculator.cs | ||
| ITestService.cs | ||
| ModelBindingWebSite.kproj | ||
| Startup.cs | ||
| TestMetadataAwareBinder.cs | ||
| TestService.cs | ||
| project.json | ||