Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1825

Gremlin .NET: Constant() step has incorrect parameter defined

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.6
    • Fix Version/s: 3.2.7, 3.3.1
    • Component/s: dotnet
    • Labels:
      None

      Description

      The generated method shows the following C# signature:

      public GraphTraversal<S, E2> Constant<E2>(object e)
      

      When instead it should be:

      public GraphTraversal<S, E2> Constant<E2>(E2 e)
      

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jorgebg Jorge Bay
                Reporter:
                jorgebg Jorge Bay
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: