rhizome-node/plans/ent-rel-graph.md
Lentil Hoffman 5afd3232cb
feat: enable inter-plugin state sharing in CustomResolver
- Update ResolverPlugin interface to include context in update and resolve methods
- Modify CustomResolver to pass entity state and resolved values to plugins
- Update built-in plugins to accept and use the new context parameter
- Add comprehensive test for inter-plugin communication
- Add documentation for the new view composition patterns

This change enables plugins to access each other's states during both update and resolve phases, allowing for more powerful and flexible resolver compositions.
2025-06-22 20:42:05 -05:00

551 B

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