Violation of Liskov Substitution Principle
enewhuis opened this issue · 0 comments
enewhuis commented
Above referenced line violates Liskov Substitution Principle when used with at least Graphene-Django and the underlying model is itself a subclass of aDjangoObjectType.Meta.model class.
A popular variant of this violation is use of django-polymorphic, which is quite prevalent. However, we're talking basic Python here.