When setting up latest (dev-master) code of Elastically on a project to test Symfony bridge, I get the following error when using Messenger:
Cannot autowire service "JoliCode\Elastically\Messenger\IndexationRequestHandler": argument "$indexNameMapper" of method "__construct()" references class "JoliCode\Elastically\IndexNameMapper" but no such service exists. You should maybe alias this class to the existing "elastically.default.index_name_mapper" service.
Setting the value of $indexNameMapper to the one provided by the error fixes it, but I'm wondering if it should not be autowired by the bridge instead?
Hi,
When setting up latest (dev-master) code of Elastically on a project to test Symfony bridge, I get the following error when using Messenger:
Setting the value of
$indexNameMapper
to the one provided by the error fixes it, but I'm wondering if it should not be autowired by the bridge instead?Else docs should be updated.