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

Avoid exceptions on local scope based steps where possible

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.5.5
    • 3.7.0, 3.6.3, 3.5.6
    • process
    • None

    Description

      If you g.inject([1,2], 1])dedup(local) you get an casting error because "1" is not an Iterable and local only works with that type. Would be better if a dedup() of a non-iterable just returned the object itself. Consider other steps that use local and make similar improvements there for consistency.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: