graphql-client
graphql-client copied to clipboard
A GraphQL Client for .NET Standard
Are there any plans to support the graphql-transport-ws protocol for subscriptions over web sockets?
Ask
How can implement that after send graphQLClient.InitializeWebsocketConnection can verify if successfully connected or can verify if sockets is not close or similar, can give a example code?
Attached a helper class I found very useful to handle fragments and __typename deserialization: Usage: ```csharp [JsonConverter(typeof(DiscriminateEvent))] public Event Event { get; set; } class DiscriminateEvent : PolymorphicTypenameConverter { protected...
As per title: Make UserAgent request header optional. Or even opt-in. For a lot of projects it's redundant and it can interfere with multi threaded applications where the HttpClient is...
from what I see the client expects that the graphql response from the server has a "data" property with the result, what if our API response with a custom format...
I run a GraphQL client and send the queries ``` var response3 = await client2.SendQueryAsync(request2); var response2 = await client2.SendQueryAsync(request2); var response1 = await client2.SendQueryAsync(request2); ``` There is ``` public...
I can't find what I'm doing wrong with mutations, simple queries are working well but I have no luck with mutations. Am I formating it properly ? Any help is...
Trying to follow the documentation to get subscriptions to work. The documentation on the Readme doesn't mention InitializeWebsocketConnection, but I saw that in some of the other code linked in...
I've setup a client and made a request like this: ``` vargraphQLClient = new GraphQLHttpClient($"{ConfigurationManager.ConnectionStrings["mybaseurl"].ConnectionString}/api/graphql", new NewtonsoftJsonSerializer()); var myrequest = new GraphQLRequest { Query = @" { ... }" };...
Hello, I'm using Spring Boot Netflix DGS as my graph server, trying to connect with C# as a client for a subscription While looking through the other issues posted on...