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.
Currently,
ValidationEventDecoratorare pretty limited in what they can do to decorate events - all they receive is aValidationEvent.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
TraitTargetselectors.