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

Make PersistentCollection::first() "extra" lazy #11035

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

kbond
Copy link
Contributor

@kbond kbond commented Nov 2, 2023

I think it's common to not want the entire collection loaded when calling ->first() on an extra-lazy collection.

@kbond kbond changed the base branch from 2.16.x to 2.17.x November 2, 2023 18:04
@beberlei
Copy link
Member

beberlei commented Nov 5, 2023

@kbond its a really great addition.

You should update docs/en/tutorials/extra-lazy-associations.rst to include first() in the list of things that are extra lazy.

greg0ire
greg0ire previously approved these changes Nov 7, 2023
@kbond kbond changed the title [RFC] Make PersistentCollection::first() "extra" lazy Make PersistentCollection::first() "extra" lazy Nov 7, 2023
Copy link
Contributor

There hasn't been any activity on this pull request in the past 90 days, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days.
If you want to continue working on it, please leave a comment.

SenseException
SenseException previously approved these changes Oct 20, 2024
beberlei
beberlei previously approved these changes Oct 20, 2024
Copy link
Member

@beberlei beberlei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 but needs rebase onto 3.4.x

@kbond kbond dismissed stale reviews from beberlei, SenseException, and greg0ire via c9253ef October 20, 2024 23:25
@kbond kbond changed the base branch from 2.17.x to 3.4.x October 20, 2024 23:25
@kbond
Copy link
Contributor Author

kbond commented Oct 20, 2024

👍 but needs rebase onto 3.4.x

✅ Done!

@greg0ire greg0ire merged commit 0f11a97 into doctrine:3.4.x Oct 21, 2024
87 checks passed
@greg0ire
Copy link
Member

Thanks @kbond !

@kbond kbond deleted the feat/lazy-first branch October 21, 2024 11:22
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.

5 participants