Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Should ClientValidationRuleFactory be exposed to users? #79

@dougbu

Description

@dougbu

In the old world, HtmlHelper had an internal property named ClientValidationRuleFactory. We probably don't want to maintain it as internal but also likely want to make something available to subclasses choosing to override GetValidationAttributes(), assuming we decide to make that method virtual.
his property was frequently used in unit tests to mock validation errors or other validation results during tests. Since our validation abstractions are changing significantly, we should keep this use case in mind when completing the client-side validation implementation in the new world.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions