[
https://issues.apache.org/jira/browse/TINKERPOP-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cole Greer updated TINKERPOP-3122:
----------------------------------
Affects Version/s: 3.7.3
3.6.8
> hasId() does not correctly unroll primitive arrays
> --------------------------------------------------
>
> Key: TINKERPOP-3122
> URL: https://issues.apache.org/jira/browse/TINKERPOP-3122
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.6.8, 3.7.3
> Reporter: Cole Greer
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)