tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TINKERPOP-1084) Branch option tokens should be allowed to be traversals.
Date Tue, 11 Jun 2019 19:44:00 GMT

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

ASF GitHub Bot commented on TINKERPOP-1084:

dkuppitz commented on pull request #1129: TINKERPOP-1084 Branch option tokens should be allowed
to be traversals
URL: https://github.com/apache/tinkerpop/pull/1129
   Allow predicates and traversals to be used as options in `BranchStep`.
   (waiting for local `docker/build.sh -t -i` to pass)
   I will squash the 2 commits before merging.
   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:

> Branch option tokens should be allowed to be traversals.
> --------------------------------------------------------
>                 Key: TINKERPOP-1084
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1084
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.1.0-incubating
>            Reporter: Marko A. Rodriguez
>            Assignee: Daniel Kuppitz
>            Priority: Major
> It would be cool if we could do this:
> {code}
> g.V().hasLabel("person").
>   choose(values("age")).
>     option(is(lt(28)), constant("low")).
>     option(is(between(29,30)), constant("medium"))
>     option(none,constant("high"))
> {code}
> That is, "option tokens" can be traversals and if they are evaluate the traversal as
a predicate.

This message was sent by Atlassian JIRA

View raw message