[PR #10974] Remove partial object expression usage #12732

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

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

State: closed
Merged: Yes


ORM 3.0 will remove partial objects, so we cannot use this internally in pagination anymore.

The subqueries for getting the rows will now include all columns of the entity. This might increase the memory usage for the queries being executed in their respective databases, but we are not sure as we are no experts in db query executions.

To get more feedback about this change we target this for 2.17 to roll it out as fast as possible.

Implementation was discussed with @mpdude and @greg0ire

**Original Pull Request:** https://github.com/doctrine/orm/pull/10974 **State:** closed **Merged:** Yes --- ORM 3.0 will remove partial objects, so we cannot use this internally in pagination anymore. The subqueries for getting the rows will now include all columns of the entity. This might increase the memory usage for the queries being executed in their respective databases, but we are not sure as we are no experts in db query executions. To get more feedback about this change we target this for 2.17 to roll it out as fast as possible. Implementation was discussed with @mpdude and @greg0ire
admin added the pull-request label 2026-01-22 16:15:00 +01:00
admin closed this issue 2026-01-22 16:15:00 +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#12732