Skip to content

ValidationEventDecorator: Allow access to the Model #2707

@kubukoz

Description

@kubukoz

Currently, ValidationEventDecorator are pretty limited in what they can do to decorate events - all they receive is a ValidationEvent.

Having access to the Model, just like a validator would, would make it much easier to do interesting things.

For example, one might want to write a decorator that reads metadata; said metadata could contain user-definable explanations for some common TraitTarget selectors.

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