Github user jorgebay commented on a diff in the pull request:
    --- Diff: gremlin-dotnet/glv/generate.groovy ---
    @@ -48,7 +48,7 @@ def toCSharpTypeMap = ["Long": "long",
                            "TraversalMetrics": "E2",
                            "Traversal": "ITraversal",
                            "Traversal[]": "ITraversal[]",
    -                       "Predicate": "TraversalPredicate",
    +                       "Predicate": "object",
    --- End diff --
    I think we should use an interface `ILambda` similar to java's counterpart:
    `Lambda.Groovy()` and `Lambda.Python()` could return `ILambda` instances. 
That way we can have a compile type check for methods like `Filter()`, 
`Until()`, etc... to accept only `ILambda` instances.


Reply via email to