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

Marko A. Rodriguez commented on TINKERPOP3-710:
-----------------------------------------------

No. The "lambda-step" is not what makes in unserializable, its the lambda 
itself. Thus, its the lambda you are passing to choose(), not the fact that it 
gets put into a {{filter(lambda)}}.

> choose(Predicate,...) throws UnsupportedOperationException
> ----------------------------------------------------------
>
>                 Key: TINKERPOP3-710
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-710
>             Project: TinkerPop 3
>          Issue Type: Bug
>            Reporter: Matt Frantz
>            Assignee: Marko A. Rodriguez
>             Fix For: 3.0.0.GA
>
>
> This is on the 3.0.0.M9-incubating tag.
> {noformat}
> gremlin> g.V().choose({ v -> false }, __.out(), __.in())
> The FilterTraversal can only be used as a predicate traversal
> Display stack trace? [yN] 
> {noformat}
> This looks like a regression.  I don't see any unit tests for the 
> {{Predicate}} form of {{choose}}.  I happen to maintain my own regressions 
> for this, so I could contribute them.  Not sure of the fix though.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to