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

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

spmallette commented on pull request #1233: TINKERPOP-2315 Implement clone() 
for all GLVs
URL: https://github.com/apache/tinkerpop/pull/1233
 
 
   https://issues.apache.org/jira/browse/TINKERPOP-2315
   
   Hard to believe we didn't have `clone()` in place across the board. There 
might have been some more idiomatic ways to implements this per language but I 
decided to stick with `clone()` as it is in Java for all languages. Just felt 
like it should be consistent. Happy to hear other opinions on that matter, but 
besides that:
   
   Builds with `mvn clean install`
   
   VOTE +1
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Implement some form of clone() or reset() for Traversal in GLVs
> ---------------------------------------------------------------
>
>                 Key: TINKERPOP-2315
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2315
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: dotnet, javascript, python
>    Affects Versions: 3.3.9
>            Reporter: Stephen Mallette
>            Priority: Major
>
> There doesn't seem to be a method to do what we do in Java fairly often:
> {code}
> attached = g.V().hasLabel('OID').out('attached')
> assert attached.clone().count().next() == 4
> uids = attached.clone().dedup().toList()
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to