neo4j / sdn-rx

Nextgen Spring Data module for Neo4j supporting (not only) reactive data access and immutable support
https://neo4j.github.io/sdn-rx
Apache License 2.0
65 stars 23 forks source link

Fix bidirectional relationship save. #263

Closed meistermeier closed 4 years ago

meistermeier commented 4 years ago

If a bidirectional relationship on the same type gets modelled as OUTGOING the mapping will run endless following the relationship until a stack overflow occurs.

This for now closes #254 but a follow up issue will get created to base the work for undirected relationships on because there is a difference between UNDIRECTED with one relationship ignoring the database relationship direction and bidirectional that is modelled as two outgoing relationships from each side.