Github user spmallette commented on a diff in the pull request:
https://github.com/apache/tinkerpop/pull/712#discussion_r141112905
--- Diff: gremlin-dotnet/src/Gremlin.Net/Process/Traversal/Bytecode.cs ---
@@ -79,7 +85,77 @@ public void AddSource(string sourceName, params object[]
args)
/// <param name="args">The traversal method arguments.</param>
public void AddStep(string stepName, params object[] args)
{
- StepInstructions.Add(new Instruction(stepName, args));
+ StepInstructions.Add(new Instruction(stepName,
FlattenArguments(args)));
+ Bindings.Clear();
--- End diff --
Any reason we don't support lambdas? Even if .NET can't support them
natively for some reason wouldn't we minimally support the ability to pass a
python/groovy/etc lambda? it's kinda weird that way, but i think back to the
point that kuppitz made on the dev list the other day where he stated that he
doesn't always find a way out of using lambdas in production systems he works
on - so ultimately users will need that kind of capability i think.
---