aspnetcore/test/Microsoft.AspNetCore.Mvc.In...
Doug Bunting 5c8dfef15e
Change `CollectionModelBinder` and `ComplexTypeModelBinder` to enforce `[BindRequired]`
- #8180
- add an error when binding fails for top-level model
  - same case as when MVC creates "default" / empty model i.e. `ParameterBinder` can't detect this
- update `CollectionModelBinder` subclasses and the various providers as well
- controlled by existing `MvcOptions.AllowValidatingTopLevelNodes` option

smaller issue:
- change `ModelBinding_MissingBindRequiredMember` resource to mention parameters too
2018-09-21 11:08:16 -07:00
..
Models
ActionParametersIntegrationTest.cs
ArrayModelBinderIntegrationTest.cs
AuthorizeFilterIntegrationTest.cs
BindPropertyIntegrationTest.cs
BinderTypeBasedModelBinderIntegrationTest.cs
BindingSourceMetadataProviderIntegrationTest.cs
BodyValidationIntegrationTests.cs
ByteArrayModelBinderIntegrationTest.cs
CancellationTokenModelBinderIntegrationTest.cs
CollectionModelBinderIntegrationTest.cs Change `CollectionModelBinder` and `ComplexTypeModelBinder` to enforce `[BindRequired]` 2018-09-21 11:08:16 -07:00
CompanyNameAttribute.cs
ComplexTypeModelBinderIntegrationTest.cs Change `CollectionModelBinder` and `ComplexTypeModelBinder` to enforce `[BindRequired]` 2018-09-21 11:08:16 -07:00
DictionaryModelBinderIntegrationTest.cs
ExcludeBindingMetadataProviderIntegrationTest.cs
FormCollectionModelBindingIntegrationTest.cs
FormFileModelBindingIntegrationTest.cs
GenericModelBinderIntegrationTest.cs
HeaderModelBinderIntegrationTest.cs
JQueryFormatModelBindingIntegrationTest.cs
KeyValuePairModelBinderIntegrationTest.cs
Microsoft.AspNetCore.Mvc.IntegrationTests.csproj
ModelBindingTestContext.cs
ModelBindingTestHelper.cs
ModelPrefixSelectionIntegrationTest.cs
ParameterBinderExtensions.cs
ProductValidatorAttribute.cs
ServicesModelBinderIntegrationTest.cs
SimpleTypeModelBinderIntegrationTest.cs
TestMvcOptions.cs
TryUpdateModelIntegrationTest.cs
TryValidateModelIntegrationTest.cs
ValidationIntegrationTests.cs