aspnetcore/test/Microsoft.AspNet.Mvc.ModelB...
Doug Bunting 533474d07c Bind POCO model correctly; fallback to empty prefix despite exact name match
- #1865
- change `MutableObjectModelBinder` to ignore exact match in value providers
 - had an incorrect assumption: don't want exact model name to match since
   this binder supports only complex objects
 - also ignored `BinderModelName`, value provider filtering, et cetera
- reduces over-binding e.g. `[Required]` validation within missing properties

also add more tests of #2129 scenarios
2015-03-20 13:18:42 -07:00
..
Binders Bind POCO model correctly; fallback to empty prefix despite exact name match 2015-03-20 13:18:42 -07:00
Metadata Removing ModelMetadataProvider.GetModelMetadataForParameters 2015-03-19 16:42:54 -07:00
Properties Removing ModelMetadataProvider.GetModelMetadataForParameters 2015-03-19 16:42:54 -07:00
Utils
Validation Clear ModelState errors of model before TryValidateModel or TryUpdateModel 2015-03-11 10:14:28 -07:00
ValueProviders
BindAttributeTest.cs
Microsoft.AspNet.Mvc.ModelBinding.Test.xproj Update .kproj => .xproj. 2015-03-11 14:01:43 -07:00
Resources.resx
SimpleTypeExcludeFilterTest.cs
TestResources.cs
TestValueProvider.cs
project.json Add TestCommon project 2015-03-16 13:49:29 -07:00