mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2374: [GH-634] [WIP] Value objects #2980
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?
Originally created by @doctrinebot on GitHub (Mar 26, 2013).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
This issue is created automatically through a Github pull request on behalf of beberlei:
Url: https://github.com/doctrine/doctrine2/pull/634
Message:
This pull request takes a different approach than GH-265 to implement ValueObjects. Instead of changing most of the code in every layer, we just inline embedded object class metadata into an entities metadata and then use a reflection proxy that looks like "ReflectionProperty" to do the rewiring.
The idea is inspired from Symfony Forms 'property_path' option, where you can write and read values to different parts of an object graph.
This is a WIP, there have been no further tests made about the consequences of this approach. The implementation is up for discussion.
@doctrinebot commented on GitHub (Mar 26, 2013):
@doctrinebot commented on GitHub (Jan 2, 2014):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-634] was closed:
https://github.com/doctrine/doctrine2/pull/634
@doctrinebot commented on GitHub (Jan 2, 2014):
Issue was closed with resolution "Invalid"
@doctrinebot commented on GitHub (Jan 2, 2014):
Comment created by @beberlei:
This PR was superseded.
@doctrinebot commented on GitHub (Dec 28, 2014):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-634] was assigned:
https://github.com/doctrine/dbal/pull/634