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 EntityPersisters tell the UoW about post insert IDs early #10743

Merged
merged 1 commit into from
Jun 25, 2023

Commits on Jun 23, 2023

  1. Make EntityPersisters tell the UoW about post insert IDs early

    This refactoring does two things:
    
    * We can avoid collecting the post insert IDs in a cumbersome array structure that will be returned by the EntityPersisters and processed by the UoW right after. Instead, use a more expressive API: Make the EntityPersisters tell the UoW about the IDs immediately.
    * IDs will be available in inserted entities a tad sooner. That may help to resolve doctrine#10735, where we can use the IDs to skip extra updates.
    mpdude committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    8bc74c6 View commit details
    Browse the repository at this point in the history