Proxy generation for embedded/transient classes #5645

Closed
opened 2026-01-22 15:13:39 +01:00 by admin · 2 comments
Owner

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.

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.
admin added the BugMissing TestsRegression labels 2026-01-22 15:13:39 +01:00
admin closed this issue 2026-01-22 15:13:39 +01:00
Author
Owner

@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 final classes.

@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 `final` classes.
Author
Owner

@Ocramius commented on GitHub (Aug 16, 2017):

Handled in #6626

@Ocramius commented on GitHub (Aug 16, 2017): Handled in #6626
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#5645