Why autowiring is not used for migration classes?
andrey-bondar opened this issue · 0 comments
andrey-bondar commented
Hi all! I am very confused about approach to inject dependencies to migrations (https://symfony.com/bundles/DoctrineMigrationsBundle/current/index.html#migration-dependencies).
What is problem to define migrations as services with autowiring and autoconfiguration? DoctrineFixturesBundle uses it and it is very easy and comfortably.
I can make PR, but at first want to know, maybe there is a secret aim. Thanks!