Florian Hockmann created TINKERPOP-2614:
-------------------------------------------
Summary: Gremlin.NET should throw if already iterated traversal
gets modulated
Key: TINKERPOP-2614
URL: https://issues.apache.org/jira/browse/TINKERPOP-2614
Project: TinkerPop
Issue Type: Improvement
Components: dotnet
Affects Versions: 3.5.1, 3.4.12
Reporter: Florian Hockmann
It is not possible to modulate a traversal that was already iterated.
Gremlin-Java makes that clear by throwing an exception:
{code:java}
gremlin> t = g.V().has('test','test'); []
gremlin> t.hasNext()
==>true
gremlin> t.property('test','test').iterate()
The traversal strategies are complete and the traversal can no longer be
modulated
{code}
Gremlin.NET however does not throw an exception which can be confusing as users
might expect this to work.
This problem was reported by a user on SO:
[https://stackoverflow.com/q/69031410/6753576]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)