Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove partial object expression usage #10974

Merged

Conversation

beberlei
Copy link
Member

@beberlei beberlei commented Oct 9, 2023

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

@beberlei beberlei requested a review from greg0ire October 9, 2023 13:37
@greg0ire greg0ire merged commit 8ef5c80 into doctrine:2.17.x Oct 9, 2023
41 checks passed
@greg0ire greg0ire added this to the 2.17.0 milestone Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants