Modelling data and state transitions in TypeScript, using Workflows and EventStorming
by Giovanni Chiodi
6 min read
One of the strengths of Workflows as an abstraction in domain modelling is their one-to-one mapping to collaborative modelling techniques like EventStorming. So that in principles we could model requirements collaboratively with our domain experts, and then map that model one-to-one with our code. If we understand this powerful connection, we can then also leverage Workflows to model data structures and state transitions in the context of Event Driven Architectures and EventStorming.