You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Jorge Bay (JIRA)" <ji...@apache.org> on 2017/11/02 14:22:00 UTC

[jira] [Created] (TINKERPOP-1825) Gremlin .NET: Constant() step has incorrect parameter defined

Jorge Bay created TINKERPOP-1825:
------------------------------------

             Summary: Gremlin .NET: Constant() step has incorrect parameter defined
                 Key: TINKERPOP-1825
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1825
             Project: TinkerPop
          Issue Type: Bug
          Components: dotnet
    Affects Versions: 3.2.6
            Reporter: Jorge Bay
            Priority: Major
             Fix For: 3.2.7


The generated method shows the following C# signature:

{code:java}
public GraphTraversal<S, E2> Constant<E2>(object e)
{code}

When instead it should be:

{code:java}
public GraphTraversal<S, E2> Constant<E2>(E2 e)
{code}

https://github.com/apache/tinkerpop/blob/f2b4fb980559c8427fa946ad0d5acb42292a0b70/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs#L423-L427

This forces the user to specify the type of the parameter, when otherwise it could be inferred.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)