You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2018/07/21 15:12:10 UTC

tinkerpop git commit: TINKERPOP-1878 Regenerated GraphTraversal for with()

Repository: tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-1878 5955e7884 -> a07332991


TINKERPOP-1878 Regenerated GraphTraversal for with()

I assume this will come in as part of a rebase, but just going to commit as other are working on PRs to this branch right now


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/a0733299
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/a0733299
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/a0733299

Branch: refs/heads/TINKERPOP-1878
Commit: a07332991b705af2964eecb11f9a0ca059349e59
Parents: 5955e78
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Sat Jul 21 11:10:49 2018 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Sat Jul 21 11:10:49 2018 -0400

----------------------------------------------------------------------
 .../src/Gremlin.Net/Process/Traversal/GraphTraversal.cs     | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a0733299/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
----------------------------------------------------------------------
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
index 9952455..537cdbe 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
@@ -1676,5 +1676,14 @@ namespace Gremlin.Net.Process.Traversal
             return Wrap<S, E>(this);
         }
 
+        /// <summary>
+        ///     Adds the with step to this <see cref="GraphTraversal{SType, EType}" />.
+        /// </summary>
+        public GraphTraversal<S, E> With (string key, object value)
+        {
+            Bytecode.AddStep("with", key, value);
+            return Wrap<S, E>(this);
+        }
+
     }
 }
\ No newline at end of file