-
-
Notifications
You must be signed in to change notification settings - Fork 215
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
Introduce EnvironmentAwareMigrationInterface #530
Introduce EnvironmentAwareMigrationInterface #530
Conversation
@derrabus wdyt? |
It seems there are CI jobs failing. Please take a look at this guide for more on how to handle those. |
@greg0ire, thanks, fixed. |
Blocked by #531 |
Retargeting to 3.4.x since this is no bugfix |
Any news on that? |
I'd like to close this PR. I don't think, adding more FooAwareMigrationInterfaces are the proper way forward. Instead, we should find a way to leverage DI for migrations as I layed out in #521 (comment). |
In migrations, it's best to avoid using dynamic values or services that could cause unexpected issues. However, including the current environment can be really helpful. It lets us skip migrations for testing or production and set different default values depending on the environment.