mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #148] [MERGED] Do not load entity on retrieving identifier from a proxy #7780
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?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/148
Author: @asm89
Created: 10/15/2011
Status: ✅ Merged
Merged: 10/15/2011
Merged by: @guilhermeblanco
Base:
master← Head:ProxyIdentifer📝 Commits (4)
bc4e14aPrototype for a proxy extension that avoids loads when calling for a getter that is named after an identifier.f47e1feMerge branch 'master' of git://github.com/doctrine/doctrine2 into ProxyIdentifer8d1b852Added tests for not loading the entity + fixed a testd46352dFixed tests + added dedicated tests for proxy loading and identifiers📊 Changes
6 files changed (+64 additions, -6 deletions)
View changed files
📝
lib/Doctrine/ORM/Proxy/ProxyFactory.php(+20 -0)📝
tests/Doctrine/Tests/ORM/Functional/LifecycleCallbackTest.php(+6 -2)📝
tests/Doctrine/Tests/ORM/Functional/ReferenceProxyTest.php(+24 -0)📝
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1238Test.php(+4 -0)📝
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC381Test.php(+7 -2)📝
tests/Doctrine/Tests/ORM/Proxy/ProxyClassGeneratorTest.php(+3 -2)📄 Description
Fork of the branch created by beberlei. Merged master + added and fixed tests.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.