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

Prevent using GraphTraversalSource spawned traversals as children

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.10
    • 3.5.0
    • process

    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

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

            Dates

              Created:
              Updated:
              Resolved: