-
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
DDC-3441: Unidirectional ManyToOne Not Lazy Loading #4249
Labels
Comments
Comment created by mbright: Let me know if anything else is needed. |
Comment created by @doctrinebot: |
Comment created by @Ocramius: Looks like a current ORM limitation (private properties lazy loading). Related: |
Comment created by @doctrinebot: |
1 similar comment
Comment created by @doctrinebot: |
Comment created by @doctrinebot: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jira issue originally created by user mbright:
The Unidirectional ManyToOne association described in the docs does not lazy load correctly. The appropriate SQL will get executed, and the returned Proxy does pass type hinting for the correct class. However, the lazy loaded object always has the following properties:
*_initializer_*
*_cloner_*
*_isInitialized_*
lazyPropertiesDefaults
Any properties from the class definition do not show up. This is problematic when trying to get reflected properties and their values. Methods are correctly reflected.
Pull request for failing test case
The text was updated successfully, but these errors were encountered: