-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add Changelog/Migration to 2.5 documentation chapter. #1264
Conversation
Hello, thank you for creating this pull request. I have automatically opened an issue http://www.doctrine-project.org/jira/browse/DDC-3516 We use Jira to track the state of pull requests and the versions they got |
Most of the locations where previously only the ``Doctrine\ORM\EntityManager`` | ||
was allowed are now changed to accept the ``EntityManagerInterface`` that was | ||
introduced in 2.4. This allows you to more easily use the decorator pattern | ||
to extend the EntityManager if you need. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would be careful when saying this, because we still have lots of places where we pass $this
to other objects, which is not compatible with decoration (the other objects receives the inner manager). And we cannot fix this in the current architecture
Update migration_2_5.rst
Many of the locations where previously only the ``Doctrine\ORM\EntityManager`` | ||
was allowed are now changed to accept the ``EntityManagerInterface`` that was | ||
introduced in 2.4. This allows you to more easily use the decorator pattern | ||
to extend the EntityManager if you need. It`s still not replaced everywhere, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a ` here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed on merge
new chapter in documentation for migrating to 2.5. Includes a changelog of new features and improvements as well as BC breaks from UPGRADE.md
Are there any new features missing here? Missing BC breaks?