Closed kironet closed 6 years ago
Looks like this bundle is dead?
What are you trying to tell me? Is there an issue with the bundle? Please make clear what's wrong.
@craue
I'm using Symfony 3.4(Flex). Installed bundle, added service and getting this error:
Attribute "autowire" on service "App\Form\Checkout\CheckoutFlow" cannot be inherited from "_defaults" when a "parent" is set. Move your child definitions to a separate file or define this attribute explicitly in /Users/name/Documents/Projects/Symfony/project-name/config/services.yaml (which is loaded in resource "/Users/name/Documents/Projects/Symfony/project-name/config/services.yaml").
With Symfony 3.3 bundle worked just fine.
I temporarily fixed it by moving(copying) everything from _default to each service(except forflow bundle) individually, but don't think this is the best solution.
Seems you cannot set defaults for autowire
and/or autoconfigure
when using parent
for the service. I guess just avoiding defaults is the easy way to solve this issue. Looks like a Symfony limitation, so I'm not sure what I could do about it.
https://github.com/symfony/symfony/issues/25621 this ain't a bug
or