mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #315] Allowing proxies to be passed to ORM public API #8019
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/315
State: closed
Merged: Yes
Basically, following happens:
This change forces loading of metadata even with proxy class names passed to the
ClassMetadataFactoryAPI.I need some feedback on the test cases. All three tests fail without the patch, while
with it applied.
What is a bit tricky is the status of the proxies.
Cases where
$__initialized__ = false;&&$_identifier = array();and others fail because of notices and weird issues that are very difficult to hunt down. That is because of the strange nature of proxies obviously. I just wanted to know if this should be somehow fixed in here.