I often see the term Invariants in DDD. Here Dino Esposito talks about it. If I look at the .NET library, I see a ValidationAttribute class. Are Invaria
In DDD, validation rules can be thought as invariants. The main
responsibility of an aggregate is to enforce invariants across state
changes for all the entities within that aggregate.