Skip to content

Accessing the paylod in the Callback constraint #6185

Closed
@xabbuh

Description

@xabbuh

Since Symfony 2.6 it is possible to pass custom payload data to the constraint validators. However, it was not possible to access this payload in the Callback constraint. With Symfony 3.1 this will now be possible as the payload is passed as an additional argument to the callback (see symfony/symfony#16909).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Hack DayValidatoractionableClear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions