Skip to content

Extension not working in 2.1.2 #187

@davidkdb

Description

@davidkdb

Hi

The Extension status that worked in 2.0.0, gives an error when results is returned with an error, for example if throttled. If no error then Extensions work. We are using it against Shopify:

at GraphQL.Client.Serializer.Newtonsoft.GraphQLExtensionsConverter.ReadToken(JToken token) at GraphQL.Client.Serializer.Newtonsoft.GraphQLExtensionsConverter.ReadDictionary[TDictionary](JToken element) at GraphQL.Client.Serializer.Newtonsoft.GraphQLExtensionsConverter.ReadToken(JToken token) at GraphQL.Client.Serializer.Newtonsoft.GraphQLExtensionsConverter.ReadDictionary[TDictionary](JToken element) at GraphQL.Client.Serializer.Newtonsoft.GraphQLExtensionsConverter.ReadJson(JsonReader reader, Type objectType, GraphQLExtensionsType existingValue, Boolean hasExistingValue, JsonSerializer serializer) at Newtonsoft.Json.JsonConverter1.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
at GraphQL.Client.Serializer.Newtonsoft.NewtonsoftJsonSerializer.DeserializeFromUtf8Stream[T](Stream stream)
at GraphQL.Client.Serializer.Newtonsoft.NewtonsoftJsonSerializer.DeserializeFromUtf8StreamAsync[TResponse](Stream stream, CancellationToken cancellationToken)
at GraphQL.Client.Http.GraphQLHttpClient.d__261.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at LibShopify.CommonShopify.d__111.MoveNext() in L:\Div\iGroupy\iGroupy\ShopifyQueries.cs:line 730

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions