-
Notifications
You must be signed in to change notification settings - Fork 103
[WIP] Use real object managers #40
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
Conversation
The methods `EntityManagerInterface#getReference()` and `EntityManagerInterface#getPartialReference()` have nullable return. That's properly documented for `getReference()` but had to be fixed for `getPartialReference()`.
So that things would be compatible with both ORM and ODM.
With the necessary dependencies on Travis-CI to ensure the build will run properly. Following the same approach as https://github.com/doctrine/mongodb/blob/1.6.3/.travis.yml#L61 (for PHP 7+ installation).
Based on the class metadata we can easily fetch data from any configuration format.
dcb011e
to
b7c93f3
Compare
any update to this @lcobucci |
It’s waiting for my review, sorry for the delay.
On Wed, 24 Oct 2018 at 09:23, Alexander Schranz ***@***.***> wrote:
any update to this @lcobucci <https://github.com/lcobucci>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#40 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGZuMHrr-btE8YMfT_R0KFLoNyp5LHmks5uoBV-gaJpZM4WCtMv>
.
--
Ondřej Mirtes
|
ping @ondrejmirtes ;-) |
I'm really looking forward to this but we have to solve #39 first. |
|
||
parameters: | ||
doctrine: | ||
objectManagerLoader: tests/DoctrineIntegration/ORM/entity-manager.php |
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 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 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 guess that makes sense.
Superceded by #49. |
With this implementation we're able to use the class metadata to retrieve repository information, given the user provides the entity/document manager instance.
Depends on #39