While creating a receiver which implements Bernard\Consumer there is a problem with autowiring because interface Bernard\Router needs to be specified in services.yaml manually like:
Bernard\Router: '@bernard.router'
That IMO should be done by DI configuration out-of-the-box.
I didn't define anything else than driver in bernard.yaml
While creating a receiver which implements
Bernard\Consumerthere is a problem with autowiring because interfaceBernard\Routerneeds to be specified inservices.yamlmanually like:That IMO should be done by DI configuration out-of-the-box.
I didn't define anything else than driver in
bernard.yaml