Entity reconstruction #66
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Research
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
slendium/ocd#66
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.