[
https://issues.apache.org/jira/browse/TINKERPOP-1730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161504#comment-16161504
]
ASF GitHub Bot commented on TINKERPOP-1730:
-------------------------------------------
Github user FlorianHockmann commented on a diff in the pull request:
https://github.com/apache/tinkerpop/pull/710#discussion_r138116451
--- Diff: gremlin-dotnet/src/Gremlin.Net/Driver/Messages/ResponseResult.cs
---
@@ -23,13 +23,14 @@
using System.Collections.Generic;
using Newtonsoft.Json;
+using Newtonsoft.Json.Linq;
namespace Gremlin.Net.Driver.Messages
{
internal class ResponseResult<T>
{
[JsonProperty(PropertyName = "data")]
- public List<T> Data { get; set; }
+ public JToken Data { get; set; }
--- End diff --
You can completely remove the type parameter `T` from the class when you
change the type here to `JToken`.
> Gremlin .NET support for GraphSON 3.0
> -------------------------------------
>
> Key: TINKERPOP-1730
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1730
> Project: TinkerPop
> Issue Type: Improvement
> Components: language-variant
> Affects Versions: 3.3.0
> Reporter: stephen mallette
> Priority: Minor
>
> This may be a quite minor thing at this point as [~jorgebg] already had much
> of this in place. GraphSON 3.0 should be the default for 3.3.0 - right now it
> is set to 2.0 so all the tests pass.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)