[
https://issues.apache.org/jira/browse/TINKERPOP-3008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17778814#comment-17778814
]
ASF GitHub Bot commented on TINKERPOP-3008:
-------------------------------------------
kenhuuu commented on PR #2306:
URL: https://github.com/apache/tinkerpop/pull/2306#issuecomment-1775944519
VOTE +1
> 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: Task
> Components: process
> Affects Versions: 3.7.0
> Reporter: Yang Xia
> Priority: Major
> Labels: breaking
>
> 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)