[PR #10466] Enabled lazy-loading for subclasses. #12386

Closed
opened 2026-01-22 16:13:53 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/10466

State: closed
Merged: No


This enables lazy-loading of classes that have subclasses by using
the discriminator column to get the right subtype for the Proxy.

This also changes a few tests since lazy-loading subclasses
would now be possible and fetched classes are expected to be
an instance of the Proxy class.

**Original Pull Request:** https://github.com/doctrine/orm/pull/10466 **State:** closed **Merged:** No --- This enables lazy-loading of classes that have subclasses by using the discriminator column to get the right subtype for the Proxy. This also changes a few tests since lazy-loading subclasses would now be possible and fetched classes are expected to be an instance of the Proxy class.
admin added the pull-request label 2026-01-22 16:13:53 +01:00
admin closed this issue 2026-01-22 16:13:53 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#12386