graphql-client
graphql-client copied to clipboard
Issue with subscriptions with a depth greater than 20.
trafficstars
When I have a subscription which has more than 20 associations it is failing. If I use graphql playground the subscription is completing correctly. Also just to note I have switched out different associations and also run the same subscription as a query, and use ExecuteQuery and it has worked. I am getting the below error:
Object reference not set to an instance of an object.
with the stacktrace:
at GraphQL.Client.Http.Websocket.GraphQLHttpWebSocket.<ReceiveWebsocketMessagesAsync>d__39.MoveNext()
I found the cause of the issue, it seems my query is to large. Do you have or plan to have any internal query compression? removing white space etc?
Is there any inbuild method for splitting large messages over websockets?