Closed
Description
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | yes |
RFC? | no |
Symfony version | 3.3.9 |
I do have a decorator service over validator.validator_factory
, as described in documentation. It is not working for now, because:
-
\Symfony\Component\DependencyInjection\Compiler\DecoratorServicePass
is removing original service, renaming it tomy_service_name.inner
and set alias frommy_service_name
tovalidator.validator_factory
. -
After that
\Symfony\Component\Validator\DependencyInjection\AddConstraintValidatorsPass
is invoked, and tries to locate original servicevalidator.validator_factory
which can not be found anymore.
As a result, validator factory built with wrong dependencies.