Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2361

Prevent using GraphTraversalSource spawned traversals as children

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.10
    • Fix Version/s: 3.5.0
    • Component/s: process
    • Labels:

      Description

      It would be nice to prevent this:

      g.V().union(identity(), g.V())
      

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

      g.V().union(identity(), __.V())
      

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

        Attachments

          Activity

            People

            • Assignee:
              spmallette Stephen Mallette
              Reporter:
              spmallette Stephen Mallette
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: