Stephen Mallette created TINKERPOP-3273:
-------------------------------------------

             Summary: V and hasId consistency with collection unrolling
                 Key: TINKERPOP-3273
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3273
             Project: TinkerPop
          Issue Type: Bug
          Components: process
    Affects Versions: 3.7.6
            Reporter: Stephen Mallette


{code:java}
gremlin> g.V().hasId(1, [2,4])
==>v[1]
==>v[2]
==>v[4]
gremlin> g.V(1, [2,4])
Expected an id that is convertible to class java.lang.Integer but received 
class java.util.ArrayList - [[2, 4]]
Type ':help' or ':h' for help.
Display stack trace? [yN]n {code}

{{hasId}} should match behavior of {{V}}. unrolling only happens on a single 
collection argument. Wasn't quite implemented properly at TINKERPOP-2863



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to