Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrations as services #26

Open
arendjantetteroo opened this issue Feb 18, 2019 · 0 comments
Open

Migrations as services #26

arendjantetteroo opened this issue Feb 18, 2019 · 0 comments

Comments

@arendjantetteroo
Copy link
Contributor

arendjantetteroo commented Feb 18, 2019

In latest version of doctrine orm fixtures, it's now possible to have fixtures as services which provides all the dependency injection goodies and no issues with getting public services from the container.

I've added this to the mongoodm bundle as a pull request (doctrine/DoctrineMongoDBBundle#529).
Would there be interest for this in this migrations bundle as well?

It would mean implementing an interface which is loaded with a compiler pass into the migration manager instead of loading files inside migrations/mongodb directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant