- #2633 - do not leave `ModelBindingResult.ValidationNode` as `null` when we hit the `null` `RawValue` special case - move two bits of code together to make the special case more obvious - add `ModelValidationNode` (that suppresses validation) when `HttpRequestMessageModelBinder` is successful - also suppress validation of `HttpRequestMEssage` properties - suppress validation in `CancellationTokenModelBinder`, `FormCollectionModelBinder`, `FormCollectionModelBinder` - do not create a `ModelValidationNode` when validation fails in `TypeConverterModelBinder` nits: - improve some doc comments - add a quick `HttpRequestMessageModelBinderTest` |
||
|---|---|---|
| .. | ||
| ActionParametersIntegrationTest.cs | ||
| ArrayModelBinderIntegrationTest.cs | ||
| BinderTypeBasedModelBinderIntegrationTest.cs | ||
| BodyValidationIntegrationTests.cs | ||
| ByteArrayModelBinderIntegrationTest.cs | ||
| CancellationTokenModelBinderIntegrationTest.cs | ||
| CollectionModelBinderIntegrationTest.cs | ||
| DictionaryModelBinderIntegrationTest.cs | ||
| FormCollectionModelBindingIntegrationTest.cs | ||
| FormFileModelBindingIntegrationTest.cs | ||
| GenericModelBinderIntegrationTest.cs | ||
| HeaderModelBinderIntegrationTest.cs | ||
| KeyValuePairModelBinderIntegrationTest.cs | ||
| Microsoft.AspNet.Mvc.IntegrationTests.xproj | ||
| ModelBindingTestHelper.cs | ||
| MutableObjectModelBinderIntegrationTest.cs | ||
| ServicesModelBinderIntegrationTest.cs | ||
| TestMvcOptions.cs | ||
| TryUpdateModelIntegrationTest.cs | ||
| TypeConverterModelBinderIntegrationTest.cs | ||
| ValidationIntegrationTests.cs | ||
| project.json | ||