Henrik Leijonhufvud
Henrik Leijonhufvud

Reputation: 230

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?

Upvotes: 1

Views: 44

Answers (1)

Hans Karlsen
Hans Karlsen

Reputation: 2435

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

Upvotes: 1

Related Questions