[ https://issues.apache.org/jira/browse/TINKERPOP-2890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Valentyn Kahamlyk updated TINKERPOP-2890: ----------------------------------------- Fix Version/s: 3.7.0 3.6.3 3.5.6 > Avoid exceptions on local scope based steps where possible > ---------------------------------------------------------- > > Key: TINKERPOP-2890 > URL: https://issues.apache.org/jira/browse/TINKERPOP-2890 > Project: TinkerPop > Issue Type: Improvement > Components: process > Affects Versions: 3.5.5 > Reporter: Stephen Mallette > Priority: Critical > Fix For: 3.7.0, 3.6.3, 3.5.6 > > > 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. -- This message was sent by Atlassian Jira (v8.20.10#820010)