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/12/05 13:19:00 UTC

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

     [ https://issues.apache.org/jira/browse/TINKERPOP-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Bay closed TINKERPOP-1825.
--------------------------------
    Resolution: Fixed

> 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
>             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)