Entity reconstruction #66

Open
opened 2026-09-21 18:37:50 +02:00 by c.fahner · 0 comments
Owner

Currently there are no utilities to reconstruct objects from database documents based on their schema. A way to easily reconstruct entities should be introduced.

Objects containing references to entities should not automatically resolve them. The property should be a lazy ghost of the subentity that is resolved on demand only if explicitly opted-into from the cursor that produced the main entity. An exception should be thrown otherwise to avoid the n+1 problem.

Currently there are no utilities to reconstruct objects from database documents based on their schema. A way to easily reconstruct entities should be introduced. Objects containing references to entities should not automatically resolve them. The property should be a lazy ghost of the subentity that is resolved on demand only if explicitly opted-into from the cursor that produced the main entity. An exception should be thrown otherwise to avoid the n+1 problem.
c.fahner added this to the v0.3 milestone 2026-09-21 18:37:50 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
slendium/ocd#66
No description provided.