We expect the IS_VISIBLE and IS_PROTECTED edges in our cypher database to always go from a Node or Relationship node to a Boolean node, but this relationship can be reversed during a delete. For example
(:Relationship)<-[:IS_VISIBLE]-(:Boolean)
Expected Behavior
In our database schema, we should never have an edge pointing from a Booleanto a Node. It might not be causing any issues right now, but it is illegal in our database
Steps to Reproduce
Delete a relationship and then check it out on the database
from a unit test
Component
API Server / GraphQL
Current Behavior
We expect the
IS_VISIBLE
andIS_PROTECTED
edges in our cypher database to always go from aNode
orRelationship
node to aBoolean
node, but this relationship can be reversed during a delete. For exampleExpected Behavior
In our database schema, we should never have an edge pointing from a
Boolean
to aNode
. It might not be causing any issues right now, but it is illegal in our databaseSteps to Reproduce
Delete a relationship and then check it out on the database from a unit test
on the database
MATCH path = (:Boolean)-[]-(r:Relationship {name: "testcar__testperson"})-[:IS_RELATED]-(n:Node {uuid: ""})
Additional Information
No response