Given discussions here:
we needed to include a test to ensure consistency of the traversal behavior around self-referencing edges in relation to
The expected behavior is already present in TinkerGraph and that expected behavior is as follows:
gremlin> g.addV().as("a").addE("self").to("a").iterate() gremlin> g.V().bothE() ==>e[18-self->18] ==>e[18-self->18] gremlin> g.V().both() ==>v ==>v
This may break a number of providers as we've not had a test for this behavior until now - we should provide some upgrade documentation to call attention to this issue.
- links to