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

feat(doctrine): optimize EagerLoadingExtension to skip unnecessary joins #7039

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bizley
Copy link

@bizley bizley commented Mar 21, 2025

Q A
Branch? main for features / current stable version branch for bug fixes
Tickets Closes #7036 (WIP)
License MIT
Doc PR api-platform/docs#... (not yet)

This is a quick check if anything breaks after this optimization. Tests TBD

@soyuka
Copy link
Member

soyuka commented Mar 21, 2025

interetsing, there's only one failure at features/doctrine/eager_loading.feature:64 I guess it's because of the property filter (it adds attributes to the serializer groups), maybe that the code needs a small adjustment?

@bizley
Copy link
Author

bizley commented Mar 22, 2025

Ok, looks like I made it green. Now to make tests proving it generates fewer joins. Should I proceed? Any tips?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unnecessary joins made by the eager loading extension
2 participants