Core Changes: - Completely rewrote CustomResolver reducer with dependency-ordered processing - Enhanced plugin initialization with proper dependency injection - Improved delta processing and property value tracking - Added robust error handling for duplicate property IDs Resolver Improvements: - Updated to use new accumulator structure - Implemented execution order processing for plugins - Enhanced debug logging and error reporting - Simplified TimestampResolver by removing unused initializer Configuration Updates: - Added TypeScript path aliases for test helpers - Improved module resolution paths Key Benefits: - More robust plugin dependency management - More efficient state updates - Enhanced type safety - Better error messages and debugging - More consistent plugin initialization This refactoring focuses on improving the robustness of the resolver, especially around plugin lifecycle management and dependency handling. The changes ensure better separation of concerns and more predictable behavior when dealing with complex plugin dependencies.
24 lines
551 B
Markdown
24 lines
551 B
Markdown
# Entity Relationship Graph
|
|
|
|
## Background
|
|
|
|
Deltas can express relationships by declaring a domain entity for the relationship itself.
|
|
|
|
Our initial implementation assumes there is only one structure for a relationship: a directed edge from one entity to another.
|
|
- `source` and `target` are required properties.
|
|
- `type` as well as arbitrary additional properties are optional.
|
|
|
|
Future work may allow for more complex relationships.
|
|
|
|
## Goal
|
|
|
|
Resolve a graph of relationships among entities.
|
|
|
|
## Discussion of Strategy
|
|
|
|
### Lossy View Composition
|
|
|
|
|
|
|
|
|