I run a GraphQL client and send the queries
var response3 = await client2.SendQueryAsync<ADescriptorResponse2>(request2);
var response2 = await client2.SendQueryAsync<dynamic>(request2);
var response1 = await client2.SendQueryAsync<object>(request2);
There is
public class ADescriptorResponse2
{
public ADescriptor aDescriptor { get; set; }
}
public class ADescriptor
{
public long Action { get; set; }
public string Name { get; set; }
public string Description { get; set; }
}
But in the 1st case var response3 = await client2.SendQueryAsync(request2); i receive the response3.Data ==null, type ADescriptorResponse2 In other both cases I receive Data correct but it isNewtonsoft.Json.Linq.JObject type. Why I do not receive the Data of ADescriptorResponse2 filled with data? What is incorrect?