[ 
https://issues.apache.org/jira/browse/TINKERPOP-3008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yang Xia closed TINKERPOP-3008.
-------------------------------
    Resolution: Fixed

> Update concat() to accept traversal varargs and remove special treatment of 
> inject child traversals
> ---------------------------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-3008
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3008
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.7.0
>            Reporter: Yang Xia
>            Assignee: Yang Xia
>            Priority: Major
>              Labels: breaking
>             Fix For: 3.7.1
>
>
> As proposed on the devlist, updating concat() to accept traversal varags.
> Also to update `concat()` to not special treat `inject()` in parameters and 
> use `TraversalUtil.apply` on it as with any other child traversals. 
> So the corrected result as inject() behaves by default (The inject() step 
> injects the incoming traverser as the first item in the stream by default) 
> would be:
> {code:java}
> gremlin> g.inject("a").concat(inject("b"))
> ==>aa{code}



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

Reply via email to