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

hasId() does not correctly unroll primitive arrays

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.6.8, 3.7.3
    • None
    • process
    • None

    Description

      hasId() is configured to unroll lists/arrays of ids which are passed as arguments (see TINKERPOP-2863). The current implementation works for Object[] and Collections of ids, but fails for primitive arrays (int[]...)

      Currently `hasId(new Integer[]

      {1,2,3}) == hasId(1, 2, 3)` but `hasId(new int[]{1,2,3}

      ) != hasId(1, 2, 3)`.

      The existing Object[] behaviour should be extended to handle all primitive array types as well.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              colegreer Cole Greer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: