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. |
||
|---|---|---|
| .. | ||
| BindAttributeController.cs | ||
| CompositeTestController.cs | ||
| FileUploadController.cs | ||
| FromAttributesController.cs | ||
| FromHeader_BlogController.cs | ||
| FromServices_CalculatorController.cs | ||
| HomeController.cs | ||
| ModelBinderAttribute_CompanyController.cs | ||
| ModelBinderAttribute_ProductController.cs | ||
| PropertiesGetCreatedController.cs | ||
| RoundtripController.cs | ||
| TryUpdateModelController.cs | ||
| VehicleController.cs | ||
| WithBinderMetadataController.cs | ||
| WithoutBinderMetadataController.cs | ||