You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/07/22 18:47:00 UTC

[jira] [Commented] (TINKERPOP-3273) V and hasId consistency with collection unrolling

    [ https://issues.apache.org/jira/browse/TINKERPOP-3273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18098274#comment-18098274 ] 

ASF GitHub Bot commented on TINKERPOP-3273:
-------------------------------------------

spmallette commented on PR #3546:
URL: https://github.com/apache/tinkerpop/pull/3546#issuecomment-5050095387

   VOTE +1




> 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
>            Priority: Blocker
>
> {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)