The fix splits client validation and model validation into two separate hierarchies. Introduced ClientModelValidatorProvider in MvcOptions, which can be iterated to produce IClientModelValidators. As a result of this, HtmlGenerator code can be free of ActionBindingContext and directly consumes options. This also means that we do not modify the client validations during resource filters. |
||
|---|---|---|
| .. | ||
| CompareAttributeAdapterTest.cs | ||
| CompositeModelValidatorProviderTest.cs | ||
| DataAnnotationsClientModelValidatorProviderTest.cs | ||
| DataAnnotationsModelValidatorProviderTest.cs | ||
| DataAnnotationsModelValidatorTest.cs | ||
| DefaultModelClientValidatorProviderTest.cs | ||
| DefaultModelValidatorProviderTest.cs | ||
| DefaultObjectValidatorTests.cs | ||
| MaxLengthAttributeAdapterTest.cs | ||
| MinLengthAttributeAdapterTest.cs | ||
| ModelStateDictionaryTest.cs | ||
| RangeAttributeAdapterTest.cs | ||
| ReferenceEqualityComparerTest.cs | ||
| RequiredAttributeAdapterTest.cs | ||
| StringLengthAttributeAdapterTest.cs | ||