Crates.io | wasmdome-domain |
lib.rs | wasmdome-domain |
version | 0.0.7 |
source | src |
created_at | 2020-02-26 14:35:13.308234 |
updated_at | 2020-07-29 16:09:43.085331 |
description | Event Sourced Domain Model for the 'Assembly Mechs: Beyond WasmDome' Game |
homepage | https://wasmdome.dev |
repository | |
max_upload_size | |
id | 212709 |
size | 77,927 |
This crate contains the common domain logic required to perform the match processing. This logic is expressed through event sourcing, where commands are handled by an aggregate that results in 1 or more events. Those events can then be applied to the aggregate that results in state changes.
This pattern embraces immutability and enables things like replay and incredibly easy testing because everything is deterministic and predictable.