[
https://issues.apache.org/jira/browse/TINKERPOP-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15937880#comment-15937880
]
ASF GitHub Bot commented on TINKERPOP-1387:
-------------------------------------------
Github user spmallette commented on the issue:
https://github.com/apache/tinkerpop/pull/574
Looks like all my comments are satisfied. Just judging from the changes I
sense this will merge to master without much of a hitch, but I've been getting
in the habit of getting the master branch straight locally before pushing tp32
- that way they can push at the same time.
Didn't really play with it but this looks like a really neat change. All
tests pass with `docker/build.sh -t -n -i`
VOTE +1
> from and to modulators for path steps
> -------------------------------------
>
> Key: TINKERPOP-1387
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1387
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.2.1
> Reporter: Daniel Kuppitz
> Assignee: Marko A. Rodriguez
>
> Just had this crazy idea of {{from}} and {{to}} modulators for path steps.
> {code}
> g.V(1).as("a").
>
> repeat(both("knows").simplePath().from("a")).emit().out("created").as("p").in("created").
>
> repeat(both("knows").simplePath().from("p")).emit(hasId(6)).out("created").as("b").
> path().from("a").to("p").as("pathFromMarkoToProject").
> path().from("p").to("b").as("pathFromProjectToPeter").
> match(
> __.as("pathFromMarkoToProject").count(local).is(lte(3)),
> __.as("pathFromProjectToPeter").count(local).is(lte(3))
> ).select("p", "pathFromMarkoToProject", "pathFromProjectToPeter")
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)