7 Commits

Author SHA1 Message Date
ceb9d9a0cf
Module alias for @src 2025-06-23 03:01:44 -05:00
f6790bf90d
Separated custom-resolver.ts into separate files 2025-06-23 00:16:26 -05:00
cf29338c9b
feat: add plugin dependency support to CustomResolver
- Added  property to ResolverPlugin interface
- Implemented topological sorting for plugin execution order
- Added circular dependency detection
- Updated built-in plugins with dependency declarations
- Added comprehensive tests for plugin dependencies
- Updated documentation with examples and best practices
2025-06-22 23:47:35 -05:00
8de512cd5b
feat: add inter-plugin dependencies to CustomResolver
- Update ResolverPlugin interface with allStates parameter
- Modify CustomResolver to pass all plugin states
- Update built-in plugins for compatibility
- Add comprehensive tests for inter-plugin dependencies
- Add detailed documentation with examples
2025-06-22 23:18:37 -05:00
65a6230959
Revert changes to CustomResolver 2025-06-22 22:31:22 -05:00
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
73d2bf23f5
refactor: simplify relationship graph implementation
- Implement RelationshipGraphResolver extending Lossy
- Add type-safe accumulator for relationship graph state
- Update tests and documentation
2025-06-22 18:39:53 -05:00