Skip to content

[Feature] There is no way to pass a ValidationContext to an ObservableValidator #3729

@mdelanno

Description

@mdelanno

Describe the problem this feature would solve

I've written a custom validator that I have added to a property via the CustomValidation attribute. This custom validator needs a service and also use ValidationContext.Items dictionary to pass some flags. But I can not tell the ObservableValidator to use my custom context because it creates a new object when it validates the object.

Describe the solution

Add a way to pass a ValidationContext to the ObservableValidator

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions