Encourage making descendants of Aggregate
and AggregatePart
final
#67
Labels
enhancement
New feature or request
Aggregate
and AggregatePart
final
#67
There cannot be such a thing as aggregate inheritance because there can be only one class that handles a type of a command. Therefore we need to encourage users to mark classes they create as
final
.A Model Compiler can analyze Java code and issue warnings when classes derived from
Aggregate
orAggregatePart
are not declared asfinal
.The text was updated successfully, but these errors were encountered: