Aggregate Design: Using Invariants as a Guide
How do you compose an aggregate? For me, aggregate design involves understanding the invariants. Invariants are business rules that must always be consistent. Understanding the invariants will guide your aggregate design. Everything I seemingly post ends up being about defining boundaries! Aggregates are yet another example of defining boundaries based on invariants and consistency. YouTube Check out my YouTube channel where I post all kinds of content that accompanies my posts including this video showing everything that is in this post. Shipment The example I’m going to use is the concept of a Shipment. You could think of this as a food… Read More »Aggregate Design: Using Invariants as a Guide