Search code examples
mdriven

Inheritance rules in MDriven?


I have a case where the designer allows me to set inheritance from one class (no inheritance) towards a superclass but not towards that superclass subclasses? Why would that not be allowed?


Solution

  • We disallow inheritance from classes marked with IsSealed, and also if class is an association class.