-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Hi! Currently we are limited to run rule sets during autovalidation. I believe we can add specific attribute for such purposes.
I came up with, following naming pattern, next attribute
[AttributeUsage(AttributeTargets.Parameter)]
public class AutoValidateSpecificAttribute : Attribute
{
public string[] RuleSets { get; }
public AutoValidateSpecificAttribute(params string[] ruleSets)
{
RuleSets = ruleSets;
}
}
and then get and use those rulesets in filter.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request