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

Gremlin.NET: Can only use Dictionary<string, object> with SubmitAsync

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 3.5.0
    • None
    • dotnet
    • None

    Description

      After upgrading to 3.5.0 of .NET Core driver, I'm trying to get my call to SubmitAsync working.

      This seems to be the only generic type that works w/o a cast error.

      await client.SubmitAsync<Dictionary<string, object>>(query)

      I'd thought I could use

      await client.SubmitAsync<JsonElement>(query)

      But I get a cast error from the dictionary to anything else I try.

      Any idea what I may be doing wrong?

      Attachments

        Activity

          People

            Unassigned Unassigned
            kirk-marple Kirk Marple
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: