Open vladrolandomihai opened 7 years ago
Hi @vladrolandomihai Thanks for the report. The OGM doesn't support inheritance (also in Doctrine inheritance is to avoid). I understand the use case though and will add basic support in the next RC's. Now working with a graph inheritance is rarely managed by labels but more with relationships (which is supported)
Hello.
I have the following model:
Now if I query the neo4j database for a color light accessory I receive the following object:
As you can see I have 4 labels set on my color light: Accessory, Light, BrightnessLight, ColorLight.
I am able to call getId(), getName(), and getPhoto() on the object, however I cannot call getBrightness(), getRed(), getGreen() and getBlue().
Does the OGM support class inheritance yet ?