We've encountered a situation where we move a node from one relationship to another but the redundant relationship is not removed. As an example with the below compositions LINE_MANAGER is updated and the existing node is then set as a FORMER_LINE_MANAGER. There should only be one line manager but we end up with two as this line https://github.com/brikteknologier/seraph-model/blob/master/lib/write.js#L229 does not check how the target nodes are related in the deletion phase.
We've encountered a situation where we move a node from one relationship to another but the redundant relationship is not removed. As an example with the below compositions
LINE_MANAGER
is updated and the existing node is then set as aFORMER_LINE_MANAGER
. There should only be one line manager but we end up with two as this line https://github.com/brikteknologier/seraph-model/blob/master/lib/write.js#L229 does not check how the target nodes are related in the deletion phase.We've coded around the issue but just wanted to make you aware if you are actively maintaining this project.
Thanks!