-
-
Notifications
You must be signed in to change notification settings - Fork 502
-
-
Notifications
You must be signed in to change notification settings - Fork 502
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
repositoryMethod for ReferenceOne #399
Comments
I don't think this is a desired functionality because it would require us to eagerly hydrate the value for $defaultCart by calling getDefaultCar. |
I can't see a problem in that. When i call getDefaultCar() i expect to get an object anyway |
+1 |
This feature would be really helpful (http://stackoverflow.com/questions/29492965/doctrine2-how-to-handle-missing-relation-documents/29494298) In the annotation definition I can already define a repositoryMethod, but it is never called |
I'm going to close this in favor of #1397. Lazy-loading |
hi,
odm doesnt support repositoryMethod for ReferenceOne annotation. i just recently found out about these repository methods and find them very useful.
but i am disappointed that it doesnt work with reference one.
use case:
user has many cars, but only one default. so i would like to do
of course i can work around it by annotating it with reference many but that is not true. could this be added?
The text was updated successfully, but these errors were encountered: