feat: implement EventProjection base class with declarative mapping #316
No reviewers
Labels
No labels
Blocked
Duplicate
MoSCoW/Could Have
MoSCoW/Must Have
MoSCoW/Should Have
Points/1
Points/13
Points/2
Points/21
Points/3
Points/5
Points/8
Priority/Backlog
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
State/Completed
State/In progress
State/In review
State/Paused
State/Unverified
State/Verified
State/Wont Do
Type/Bug
Type/Epic
Type/Feature
Type/Legendary
Type/Task
Type/Testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: aethyr/Aethyr#316
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/m2-event-projection"
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?
Summary
Implements Issue #303: EventProjection base class with declarative domain-event-to-RenderOp mapping.
Changes
lib/aethyr/core/render/event_projection.rb): Base class providingonDSL for declaring event handlers that map domain events to RenderOpslib/aethyr/core/render/projection_registry.rb): Singleton registry for managing projection classes withregister,project, and lookup methodsKey Features
onclass-level DSL for declaring event-to-RenderOp mappingsTesting
Example Usage
Dependencies
This PR depends on #304 (RenderOp Model) which is included via the
feature/m2-render-opsbase branch.Closes #303
efdec87237to6d3f84da0f6d3f84da0fto07936e53fb07936e53fbto1f8f011d25