Skip to content

Expandable Validator Types with Checkboxes for rules #112

Description

@Lgk2

I had an idea for an improvement not sure if it's worth doing but it sounds good in my head.

So we have Validator types such as ScriptableObject CustomAttributes Checker and sometimes they have found issues for example I might have 5 Property is required errors from the [Required] attribute and 10 value is below the minimum errors from the [MinValue] attribute. It would be cool if the Validator Type was expandable and the sub children to it was the matching errors (or possibly all applicable ones) and a checkbox and number next to them. So in this case my [ScriptableObject] CustomAttributes Checker would have 15 matches and when expanded it would show a Required Attribute with 5 matches and a MinValue attribute with 10 matches. And then I would also be able to disable the Required Attribute and then those errors would be removed from the log and it wouldn't check that attribute anymore and the icon for the ScriptableObject checker would have a new check sprite that is somewhere between fully checked and unchecked (I think this is the case with some unity checkboxes).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions