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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.6
    • 3.2.7, 3.3.1
    • dotnet
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: