Closed
Description
when defining a service with a DefinitionDecorator (parent="acme_demo.foo"
in XML), the scope is not inherited, which causes issues if the parent definition defines the scope as request and a dependency on the request. Currently, the dependency will be inherited but not the scope, causing a ScopeWideningInjectionException if you don't redeclare the request scope on the child service.
/cc @schmittjoh