Epic: Complete inventory/equipment event domain model #19

Open
opened 2026-03-14 23:53:08 +00:00 by freemo · 0 comments
Owner

Background

4 inventory/equipment commands (AddItemToInventory, RemoveItemFromInventory, EquipItem, UnequipItem) and their corresponding events are defined, but have no command handlers and no aggregate methods. They would crash at runtime.

Demonstrable Outcome

All 16 commands have working command handlers and aggregate methods. The inventory/equipment domain is fully operational within the event sourcing system.

Acceptance Criteria

  • Command handlers registered for all 4 inventory/equipment commands
  • Domain::GameObject aggregate has add_to_inventory, remove_from_inventory, equip_item, unequip_item methods
  • Inventory/equipment projector handles all 4 events
  • Unit tests cover all new handlers and aggregate methods
## Background 4 inventory/equipment commands (`AddItemToInventory`, `RemoveItemFromInventory`, `EquipItem`, `UnequipItem`) and their corresponding events are defined, but have no command handlers and no aggregate methods. They would crash at runtime. ## Demonstrable Outcome All 16 commands have working command handlers and aggregate methods. The inventory/equipment domain is fully operational within the event sourcing system. ## Acceptance Criteria - [ ] Command handlers registered for all 4 inventory/equipment commands - [ ] `Domain::GameObject` aggregate has `add_to_inventory`, `remove_from_inventory`, `equip_item`, `unequip_item` methods - [ ] Inventory/equipment projector handles all 4 events - [ ] Unit tests cover all new handlers and aggregate methods
freemo self-assigned this 2026-03-15 04:25:21 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: aethyr/Aethyr#19
No description provided.