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. |
||
|---|---|---|
| .. | ||
| ArrayModelBinderTest.cs | ||
| BinderTypeBasedModelBinderModelBinderTest.cs | ||
| ByteArrayModelBinderTests.cs | ||
| CancellationTokenModelBinderTests.cs | ||
| CollectionModelBinderTest.cs | ||
| ComplexModelDtoResultTest.cs | ||
| ComplexModelDtoTest.cs | ||
| CompositeModelBinderTest.cs | ||
| DictionaryModelBinderTest.cs | ||
| FormFileModelBinderTest.cs | ||
| KeyValuePairModelBinderTest.cs | ||
| ModelBindingContextTest.cs | ||
| MutableObjectModelBinderTest.cs | ||
| TypeConverterModelBinderTest.cs | ||