Skip to content

Expose the Enum Type in EnumValidator. #2243

@jonathanantoine

Description

@jonathanantoine

Is your feature request related to a problem? Please describe.

I am trying to export fluent validation rules in another format (json schema, custom, etc.)

Describe the solution you'd like

I would like EnumValidator<> to implement a new IEnumValidator interface exposing the target enum type.

Describe alternatives you've considered

Using reflection and the field name.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions