[
https://issues.apache.org/jira/browse/TINKERPOP-2564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17344964#comment-17344964
]
Kirk Marple commented on TINKERPOP-2564:
----------------------------------------
Much appreciated, thanks. That example serializer will work for me. I still
use Newtonsoft, and that'll let me return a JToken like the old driver used to
provide.
> 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)