Skip to content

Disabling validation of parameters with [NeverValidate] #13

Closed
@jonmotos

Description

@jonmotos

It would be great if we could disable validation on specific parameters with the existing [NeverValidate] attribute.
Expected behavior from the existing model validation is to:

  1. Ignore any classes marked with this attribute
  2. Ignore any parameters marked with this attribute

I took a look in the action filter but it appears to be quite difficult to get the attributes of the parameter.

I'd be happy to take a look and implement if there is any interest in this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions