Closed
Description
Description
I encountered a problem with validation of nested entities and I needed to validate by parent field, if draft true then no validation is needed
Example fix-feature for my case study:
$variables['value'] = $value;
$variables['this'] = $context->getObject();
$variables['context'] = $context;
$variables['root'] = $context->getRoot();
What do you think about me creating a Pull Request with this addition?
Example
$variables['value'] = $value;
$variables['this'] = $context->getObject();
$variables['context'] = $context;
$variables['root'] = $context->getRoot();
\Symfony\Component\Validator\Constraints\WhenValidator