Description
Given discussions here:
we needed to include a test to ensure consistency of the traversal behavior around self-referencing edges in relation to
g.V().bothE() g.V().both()
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[19][18-self->18] ==>e[19][18-self->18] gremlin> g.V().both() ==>v[18] ==>v[18]
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.
Attachments
Issue Links
- links to