You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On load, all relations and their nodes should be loaded (depending on the query depth of course)
Current Behavior
On load, only those, which directly implement IdHolder are loaded
Possible Solution
As a workaround, I could add IdHolder to the implements part of every node class.
A solution would maybe require to check recursively for all super classes/interfaces of the classes.
Execute the test. It fails, although the data is persisted right before and if you check the database, the nodes and relation are also existing
To workaround this issue, one could let Group directly implement IdHolder (although it already does through GroupInterface). When you then execute the test again, it works like a charm (see CHECKME in Group)
Context
I am working a lot with interfaces and interface inheritance. My relations are therefor very generic with the IdHolder beeing the main interface of all my nodes.
It is not possible to load a node that implements an interface
that also implements one. This commit changes the detection of
possible matches when loading generic relationship entities.
This fixes#491
Thanks for reporting this. As you can see there is already a pending PR to solve the problem. There was no stepping through the interface hierarchy as you have noticed.
It is not possible to load a node that implements an interface
that also implements one. This commit changes the detection of
possible matches when loading generic relationship entities.
This fixes#491
Expected Behavior
On load, all relations and their nodes should be loaded (depending on the query depth of course)
Current Behavior
On load, only those, which directly implement IdHolder are loaded
Possible Solution
As a workaround, I could add IdHolder to the implements part of every node class.
A solution would maybe require to check recursively for all super classes/interfaces of the classes.
Steps to Reproduce (for bugs)
Here is the link to the very basic example: https://github.com/Ph3n1x/neo4j-sdn-ogm-issue-report-template/tree/master/issue-491
Context
I am working a lot with interfaces and interface inheritance. My relations are therefor very generic with the IdHolder beeing the main interface of all my nodes.
Your Environment
The text was updated successfully, but these errors were encountered: