aspnetcore/test/Microsoft.AspNetCore.Mvc.Co.../ModelBinding
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
..
Binders Change `CollectionModelBinder` and `ComplexTypeModelBinder` to enforce `[BindRequired]` 2018-09-21 11:08:16 -07:00
Internal
Metadata
Validation
BindingSourceValueProviderTest.cs
CompositeValueProviderTest.cs
DefaultModelBindingContextTest.cs
EnumerableValueProviderTest.cs
FormValueProviderFactoryTest.cs
FormValueProviderTest.cs
JQueryFormValueProviderFactoryTest.cs
JQueryFormValueProviderTest.cs
JQueryQueryStringValueProviderFactoryTest.cs
JQueryQueryStringValueProviderTest.cs
ModelBinderFactoryTest.cs
ModelBinderProviderExtensionsTest.cs
ModelBindingHelperTest.cs Fix some spelling (#8378) 2018-09-06 07:39:01 -07:00
ModelBindingResultTest.cs
ParameterBinderTest.cs
QueryStringValueProviderFactoryTest.cs
QueryStringValueProviderTest.cs
RouteValueProviderTests.cs
StubModelBinder.cs
TestModelBinderProviderContext.cs Change `CollectionModelBinder` and `ComplexTypeModelBinder` to enforce `[BindRequired]` 2018-09-21 11:08:16 -07:00
TestValueProvider.cs
UnsupportedContentTypeFilterTest.cs
ValueProviderFactoryExtensionsTest.cs