mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Proxy generation for embedded/transient classes #5645
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 @bendavies on GitHub (Aug 15, 2017).
Originally assigned to: @Ocramius on GitHub.
Due to https://github.com/doctrine/common/pull/771, proxy generation will now fail if a final class is used as an embedded.
We should skip proxy generation for abstract classes, mapped superclassesses, embeddables.
@Ocramius commented on GitHub (Aug 15, 2017):
The criteria should be to skip generation on any transient/hack type (anything not directly instantiable). The example above is precisely about embeddables, which are perfectly fine to be mapped from
finalclasses.@Ocramius commented on GitHub (Aug 16, 2017):
Handled in #6626