doctrine / DoctrineBundle

Symfony Bundle for Doctrine ORM and DBAL
https://www.doctrine-project.org/projects/doctrine-bundle.html
MIT License
4.71k stars 451 forks source link

Use references for connection middlewares #1819

Closed ostrolucky closed 1 month ago

ostrolucky commented 1 month ago

This ensures created child definitions for connection specific middlewares inherit props like tags from parent and their definitions are set in root of the container, so that they are visible for other compiler passes that look for things through stuff like tags

Fixes #1817