[ 
https://issues.apache.org/jira/browse/TINKERPOP-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259033#comment-16259033
 ] 

Jorge Bay commented on TINKERPOP-1825:
--------------------------------------

I agree that is an opportunity to refactor that part of the generation.

I think we should tackle this before going GA as it includes API changes.

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

Reply via email to