A Subscription that had been correctly scoped in 2023 and had acquired a usage counter written thousands of times a day. An aggregate boundary is correct at a…
A Subscription class of nine hundred lines, holding the plan, the billing schedule and the usage record, loaded in full to check whether a feature was enabled. The…
An order aggregate containing its lines, its shipments, its refunds and its notes, loaded in full to change a delivery address. Drawing the boundary by what belongs together…
Transferring stock between two warehouses belongs to neither warehouse, and putting it on one of them makes that one special for no reason. This is the case a…
A billing module everybody agrees should be separate, a team of four, and 88 classes that reference it. The boundary, drawn in code rather than in conversation.
The domain layer talked about a consignment, the database called it a shipment, and both terms appeared in the same conversation with different meanings. Renaming the table was…