@malukenho Id is indeed invariant, but please consider: this is only sample code for patterns, not for DDD. Having a separate repository with the patterns of DDD would make sense, though :)