You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Kirk Marple (Jira)" <ji...@apache.org> on 2021/05/12 21:01:00 UTC
[jira] [Created] (TINKERPOP-2564) Can only use Dictionary with SubmitAsync
Kirk Marple created TINKERPOP-2564:
--------------------------------------
Summary: Can only use Dictionary<string, object> with SubmitAsync
Key: TINKERPOP-2564
URL: https://issues.apache.org/jira/browse/TINKERPOP-2564
Project: TinkerPop
Issue Type: Bug
Components: dotnet
Affects Versions: 3.5.0
Reporter: Kirk Marple
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?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)