You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by okram <gi...@git.apache.org> on 2017/08/02 22:04:29 UTC

[GitHub] tinkerpop pull request #686: TINKERPOP-1740: Add vertex parameter overload t...

GitHub user okram opened a pull request:

    https://github.com/apache/tinkerpop/pull/686

    TINKERPOP-1740: Add vertex parameter overload to to() and from()

    https://issues.apache.org/jira/browse/TINKERPOP-1740
    
    Is it me or is it hot out? Oooooowwww...
    
    ```
    a = g.V(1).next()
    b = g.V(2).next()
    g.addE('knows').from(a).to(b)
    ```
    
    We now support `addE()` as a `GraphTraversalSource` method and we support `to(Vertex)` and `from(Vertex)` which simply default to `to(__.constant(vertex))` (and `from()` respectively). Gonna vote on it a bit later, want to get some feedback from @newkek and Jeremy first.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/tinkerpop TINKERPOP-1740

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tinkerpop/pull/686.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #686
    
----
commit 0c92687229955fdb13dc4e3e9a51da1f3b95ae97
Author: Marko A. Rodriguez <ok...@gmail.com>
Date:   2017-08-02T21:59:19Z

    added support for g.addE().to().from() as well as to(vertex) and from(vertex). This makes things a little easier on the eyes.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] tinkerpop pull request #686: TINKERPOP-1740: Add vertex parameter overload t...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/tinkerpop/pull/686


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] tinkerpop issue #686: TINKERPOP-1740: Add vertex parameter overload to to() ...

Posted by robertdale <gi...@git.apache.org>.
Github user robertdale commented on the issue:

    https://github.com/apache/tinkerpop/pull/686
  
    Me likey dat!
    VOTE +1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] tinkerpop issue #686: TINKERPOP-1740: Add vertex parameter overload to to() ...

Posted by okram <gi...@git.apache.org>.
Github user okram commented on the issue:

    https://github.com/apache/tinkerpop/pull/686
  
    VOTE +1.
    
    ```
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 02:15 h
    [INFO] Finished at: 2017-08-02T19:52:00-06:00
    [INFO] Final Memory: 162M/1731M
    [INFO] ------------------------------------------------------------------------
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] tinkerpop issue #686: TINKERPOP-1740: Add vertex parameter overload to to() ...

Posted by dkuppitz <gi...@git.apache.org>.
Github user dkuppitz commented on the issue:

    https://github.com/apache/tinkerpop/pull/686
  
    VOTE: +1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---