-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
In this excerpt I believe the prooph_event_store.projection_managers was supposed to contain the projection managers names, but currently they're prepended with prooph_event_store:
event-store-symfony-bundle/src/DependencyInjection/ProophEventStoreExtension.php
Lines 64 to 80 in 5f0aeca
| foreach ($config['projection_managers'] as $projectionManagerName => $projectionManagerConfig) { | |
| $projectionManagerId = "prooph_event_store.projection_manager.$projectionManagerName"; | |
| self::defineProjectionManager($container, $projectionManagerId, $projectionManagerConfig); | |
| [$projectionManagerForProjectionsLocator, $projectionsLocator, $readModelsLocator] = self::collectProjectionsForLocators( | |
| $projectionManagerConfig['projections'], | |
| $projectionManagerId, | |
| $projectionManagerForProjectionsLocator, | |
| $projectionsLocator, | |
| $readModelsLocator | |
| ); | |
| $projectionManagers[$projectionManagerName] = "prooph_event_store.$projectionManagerName"; | |
| $projectionManagersLocator[$projectionManagerName] = new Reference($projectionManagerId); | |
| } | |
| $container->setParameter('prooph_event_store.projection_managers', $projectionManagers); |
That parameter is only used on the ProjectionNamesCommand, so maybe it would make more sense to include only the names.
Metadata
Metadata
Assignees
Labels
No labels