[Validator] The current class isn't set in execution context when doing validateProperty()
This commit is contained in:
parent
48b084eb85
commit
03ed770d35
@ -129,6 +129,7 @@ class GraphWalker
|
||||
|
||||
protected function walkMember(MemberMetadata $metadata, $value, $group, $propertyPath, $propagatedGroup = null)
|
||||
{
|
||||
$this->context->setCurrentClass($metadata->getClassName());
|
||||
$this->context->setCurrentProperty($metadata->getPropertyName());
|
||||
|
||||
foreach ($metadata->findConstraints($group) as $constraint) {
|
||||
|
Reference in New Issue
Block a user