Implement pluggable fetch mode strategies #5732

Open
opened 2026-01-22 15:15:55 +01:00 by admin · 0 comments
Owner

Originally created by @guilhermeblanco on GitHub (Oct 5, 2017).

Our current FetchMode support is too intermixed with UnitOfWork and Hydrators.

Data fetching strategies should be blended as a hooking system that allow us to plug in different ways that an Entity gets loaded and act accordingly.

This might require the use of a faster and slimmer Event system in different parts of Doctrine codebase, allowing us to hook as needed.

As an inspiration of different fetching strategies (and how they behave internally, please refer to http://docs.sqlalchemy.org/en/latest/orm/loading_relationships.html ).

Originally created by @guilhermeblanco on GitHub (Oct 5, 2017). Our current `FetchMode` support is too intermixed with UnitOfWork and Hydrators. Data fetching strategies should be blended as a hooking system that allow us to plug in different ways that an Entity gets loaded and act accordingly. This might require the use of a faster and slimmer Event system in different parts of Doctrine codebase, allowing us to hook as needed. As an inspiration of different fetching strategies (and how they behave internally, please refer to http://docs.sqlalchemy.org/en/latest/orm/loading_relationships.html ).
admin added the ImprovementNew FeatureBC Break labels 2026-01-22 15:15:55 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#5732