
Architecture
Domain Driven Design in Rust Types That Mirror the Domain
Use types to encode domain rules: value objects with validating constructors, enums for states, aggregates that guard invariants and domain errors. Skip the parts that need a framework.
3 min read