Skip to content

[GH-12209] Prototype for loading partial objects fully#12210

Draft
beberlei wants to merge 3 commits intodoctrine:3.7.xfrom
beberlei:GH-12209-PartialNativeLazy
Draft

[GH-12209] Prototype for loading partial objects fully#12210
beberlei wants to merge 3 commits intodoctrine:3.7.xfrom
beberlei:GH-12209-PartialNativeLazy

Conversation

@beberlei
Copy link
Member

@beberlei beberlei commented Oct 8, 2025

A partial object is actually just a proxy with more than just the ID field pre-populated. If we access a property of the partial object that is not already loaded, then we can trigger the proxy to load the missing fields.

Problems:

  • Embedded Objects need to be created as lazy ghosts as well that trigger lazy loading of the parent.
  • Changesets are overwritten by the proxy load.

@beberlei beberlei changed the title [GH-12209] Naive prototype for loading partial objects fully [GH-12209] Prototype for loading partial objects fully Nov 5, 2025
@derrabus derrabus changed the base branch from 3.6.x to 3.7.x December 30, 2025 17:24
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.

1 participant