aspnetcore/test/Microsoft.AspNetCore.Mvc.In...
Ryan Nowak f20bf9ea02 Fix #7503 change to model name for IValidableObject
This change undoes a breaking change introduced by the 2.1 model
validation changes. Now an implementation of IValidableObject on a
top-level model will be called correctly with the 'empty' prefix instead
of the parameter name.

When fixing this we undid a workaround for another issue.

When validating a parameter that didn't bind we didn't correctly compute
the model name for 'fallback to empty prefix' cases.

(cherry picked from commit 7a1096a72b)
2018-03-29 21:35:59 -07:00
..
Models
ActionParametersIntegrationTest.cs Fix #7503 change to model name for IValidableObject 2018-03-29 21:35:59 -07:00
ArrayModelBinderIntegrationTest.cs
AuthorizeFilterIntegrationTest.cs
BindPropertyIntegrationTest.cs
BinderTypeBasedModelBinderIntegrationTest.cs
BindingSourceMetadataProviderIntegrationTest.cs
BodyValidationIntegrationTests.cs Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
ByteArrayModelBinderIntegrationTest.cs
CancellationTokenModelBinderIntegrationTest.cs
CollectionModelBinderIntegrationTest.cs Do not bind `"[index]"` in `CollectionModelBinder` subsetting feature 2018-03-19 12:53:05 -07:00
CompanyNameAttribute.cs
ComplexTypeModelBinderIntegrationTest.cs Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
DictionaryModelBinderIntegrationTest.cs Do not bind `"[index]"` in `CollectionModelBinder` subsetting feature 2018-03-19 12:53:05 -07:00
ExcludeBindingMetadataProviderIntegrationTest.cs
FormCollectionModelBindingIntegrationTest.cs
FormFileModelBindingIntegrationTest.cs
GenericModelBinderIntegrationTest.cs
HeaderModelBinderIntegrationTest.cs Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
JQueryFormatModelBindingIntegrationTest.cs Added JQueryQueryStringValueProviderFactory and JQueryQueryStringValueProvider 2018-03-12 16:40:04 -07:00
KeyValuePairModelBinderIntegrationTest.cs
Microsoft.AspNetCore.Mvc.IntegrationTests.csproj
ModelBindingTestContext.cs
ModelBindingTestHelper.cs Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
ModelPrefixSelectionIntegrationTest.cs
ParameterBinderExtensions.cs
ProductValidatorAttribute.cs
ServicesModelBinderIntegrationTest.cs
SimpleTypeModelBinderIntegrationTest.cs
TestMvcOptions.cs
TryUpdateModelIntegrationTest.cs
TryValidateModelIntegrationTest.cs
ValidationIntegrationTests.cs