Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Inheritance] Issue when mixing concrete and single inheritance in the schema #563
I have a schema where a Child table extends a Parent one using concrete inheritance. The Child table is extended itself to different kinds ChildKind1, ChildKind2, etc..., using single inheritance.
The models generation goes well with no errors. However, when dealing with the models in PHP, I got an error standing that the getOMClass method are not compatible between the Parent's peer class and the Child peer one. Indeed, the getOMClass in ParentPeer has no arguments whereas in ChildPeer it has 2 ones.
A workaround is to change the signature of the
There are in fact 4 occurrences of
I can PR for this change if your think it has no side effect.