This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Support RemoteAttribute
, including its client-side validation
#439
Comments
dougbu
added
2 - Sprint Backlog
2 - Working
and removed
feature
0 - Backlog
2 - Sprint Backlog
labels
Jan 22, 2015
dougbu
added a commit
that referenced
this issue
Jan 29, 2015
dougbu
added a commit
that referenced
this issue
Jan 29, 2015
- #439 (2 of 3) - correct namespaces - correct `Resources` class and member names; add new resources - add `MvcClientModelValidationContext`, giving `[Remote]` an `IUrlHelper` instance - adjust to modern `IUrlHelper` API - add `IClientModelValidator` support in `DataAnnotationsModelValidator` - move previously-unused `StringSplit()` to `StringHelper` - rewrite `RemoteAttributeTest` - improve test method names Reduce number of `[Remote]` constructor overloads - remove `AreaReference` enum and related `[Remote]` constructor overload - use `null` or empty `string` as explicit reference to the root area Cleanup - correct Engineering Guidelines violations - especially: add doc comments - correct spelling error in `_additonalFieldsSplit` nits: - minimize `null` checks in `AdditionalFields` - make `GetClientValidationRules` `virtual`; some subclasses use `new` today
dougbu
added a commit
that referenced
this issue
Jan 29, 2015
- #439 (3 of 3) - extended the Validation web site to include use of `[Remote]` - also confirm operation of the validation actions (which all reject their input)
dougbu
added a commit
that referenced
this issue
Jan 30, 2015
dougbu
added a commit
that referenced
this issue
Jan 30, 2015
- #439 (2 of 3) - correct namespaces - correct `Resources` class and member names; add new resources - add `MvcClientModelValidationContext`, giving `[Remote]` an `IUrlHelper` instance - adjust to modern `IUrlHelper` API - add `IClientModelValidator` support in `DataAnnotationsModelValidator` - move previously-unused `StringSplit()` to `StringHelper` - rewrite `RemoteAttributeTest` - improve test method names Reduce number of `[Remote]` constructor overloads - remove `AreaReference` enum and related `[Remote]` constructor overload - use `null` or empty `string` as explicit reference to the root area Cleanup - correct Engineering Guidelines violations - especially: add doc comments - correct spelling error in `_additonalFieldsSplit` nits: - minimize `null` checks in `AdditionalFields` - make `GetClientValidationRules` `virtual`; some subclasses use `new` today
dougbu
added a commit
that referenced
this issue
Jan 30, 2015
- #439 (3 of 3) - extended the Validation web site to include use of `[Remote]` - also confirm operation of the validation actions (which all reject their input)
dougbu
added a commit
that referenced
this issue
Jan 30, 2015
dougbu
added a commit
that referenced
this issue
Jan 30, 2015
- #439 (2 of 3) - correct namespaces - correct `Resources` class and member names; add new resources - add `MvcClientModelValidationContext`, giving `[Remote]` an `IUrlHelper` instance - adjust to modern `IUrlHelper` API - add `IClientModelValidator` support in `DataAnnotationsModelValidator` - move previously-unused `StringSplit()` to `StringHelper` - rewrite `RemoteAttributeTest` - improve test method names Reduce number of `[Remote]` constructor overloads - remove `AreaReference` enum and related `[Remote]` constructor overload - use `null` or empty `string` as explicit reference to the root area Cleanup - correct Engineering Guidelines violations - especially: add doc comments - correct spelling error in `_additonalFieldsSplit` nits: - minimize `null` checks in `AdditionalFields` - make `GetClientValidationRules` `virtual`; some subclasses use `new` today
dougbu
added a commit
that referenced
this issue
Jan 30, 2015
- #439 (3 of 3) - extended the Validation web site to include use of `[Remote]` - also confirm operation of the validation actions (which all reject their input)
dougbu
added a commit
that referenced
this issue
Jan 30, 2015
dougbu
added a commit
that referenced
this issue
Jan 30, 2015
- #439 (2 of 3) - correct namespaces - correct `Resources` class and member names; add new resources - add `RequestServices` property to `ClientModelValidationContext` - adjust to modern `IUrlHelper` API - add `IClientModelValidator` support in `DataAnnotationsModelValidator` - move previously-unused `StringSplit()` to `RemoteAttribute` and rename - rewrite `RemoteAttributeTest` - improve test method names Reduce number of `[Remote]` constructor overloads - remove `AreaReference` enum and related `[Remote]` constructor overload - use `null` or empty `string` as explicit reference to the root area - generally reduce parameter validation; match `UrlHelper` Cleanup - correct Engineering Guidelines violations - especially: add doc comments - correct spelling error in `_additonalFieldsSplit` nits: - minimize `null` checks in `AdditionalFields` - make `GetClientValidationRules` `virtual`; some subclasses use `new` today - add tests of `DataAnnotationsModelValidator.GetClientValidationRules()` - remove `builder.ToString()` calls since it appears https://roslyn.codeplex.com/workitem/246 has been resolved or Moq has worked around that issue.
dougbu
added a commit
that referenced
this issue
Jan 30, 2015
- #439 (3 of 3) - extended the Validation web site to include use of `[Remote]` - also confirm operation of the validation actions (which all reject their input)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
One we have
UrlAttribute
working end-to-end. But MVC-specific validation attributes do not yet exist. And the infrastructure for their client-side validation (IClientValidator
) is also not yet in place.Note we have no other non-obsolete attributes inheriting from
IClientValidator
. This may be an opportunity to decide whether to carry forward that particular extensibility point.IClientValidator
is easy to use but forces a single class to mix validation with a client-side adaptor.The text was updated successfully, but these errors were encountered: