Skip to content

ConstraintValidator and ConstraintValidatorInterface use deprecated entity #11049

@tobias-93

Description

@tobias-93

The parameter $context of Symfony\Component\Validator\ConstraintValidator and ConstraintValidatorInterface is of type Symfony\Component\Validator\ExecutionContextInterface, which is deprecated. It would be useful for projects using the Validator api which want to update to the new api, to allow using the new entity Symfony\Component\Validator\Context\ExecutionContextInterface, since it adds the replacement buildViolation for the deprecated addViolationAt function.
Could you add that support please?

Thanks, Tobias

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