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:02:00 UTC
[jira] [Updated] (TINKERPOP-2564) Gremlin.NET: Can only use
Dictionary with SubmitAsync
[ https://issues.apache.org/jira/browse/TINKERPOP-2564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kirk Marple updated TINKERPOP-2564:
-----------------------------------
Summary: Gremlin.NET: Can only use Dictionary<string, object> with SubmitAsync (was: Can only use Dictionary<string, object> with SubmitAsync)
> Gremlin.NET: 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
> Priority: Major
>
> 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)