-
-
Notifications
You must be signed in to change notification settings - Fork 447
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
fix BC break for removed service alias #1202
Conversation
Out of curiosity: is this a long-term fix, as in: we can expect that this service is kept longer, or will this be removed again in nearer future? |
I think we should keep this alias as long as we support |
A quick release would be much appreciated, we're getting the same report on many repos. |
Merged and released. Thanks @dmaicher. |
What does that mean? Is there any specific problem you are facing? |
Yep |
I guess we should deprecate one in favor of the other. Not sure under which conditions exactly the new service is available/usable. It seems to be defined all the time, so… no condition? |
Users get deprecations when using common\persistence classes already, I don't think we need to do more there. They know they shoiuld not use them. In some future version of bundle that will drop support doctrine/common 1.x we will just also drop old aliases. By requiring doctrine/common 2.x we will guarantee nobody can use old classes anymore, hence also service aliases. |
Fixes #1201