aspnetcore/src
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
..
Microsoft.AspNet.Mvc
Microsoft.AspNet.Mvc.Common
Microsoft.AspNet.Mvc.Core Clean up `ModelBindingResult` constructor calls and related comments 2015-03-20 13:02:23 -07:00
Microsoft.AspNet.Mvc.ModelBinding Bind POCO model correctly; fallback to empty prefix despite exact name match 2015-03-20 13:18:42 -07:00
Microsoft.AspNet.Mvc.Razor
Microsoft.AspNet.Mvc.Razor.Host
Microsoft.AspNet.Mvc.TagHelpers
Microsoft.AspNet.Mvc.WebApiCompatShim Clean up `ModelBindingResult` constructor calls and related comments 2015-03-20 13:02:23 -07:00
Microsoft.AspNet.Mvc.Xml
Microsoft.AspNet.PageExecutionInstrumentation.Interfaces