You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2020/04/20 12:44:00 UTC

[jira] [Created] (TINKERPOP-2361) Prevent using GraphTraversalSource spawned traversals as children

Stephen Mallette created TINKERPOP-2361:
-------------------------------------------

             Summary: Prevent using GraphTraversalSource spawned traversals as children
                 Key: TINKERPOP-2361
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2361
             Project: TinkerPop
          Issue Type: Improvement
          Components: process
    Affects Versions: 3.3.10
            Reporter: Stephen Mallette


It would be nice to prevent this:

{code}
g.V().union(identity(), g.V())
{code}

we of course want the use of an anonymous traversal here:

{code}
g.V().union(identity(), __.V())
{code}

It seems we need to enforce this less as a convention and more as a programmatic axiom.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)