graphql-client
graphql-client copied to clipboard
A GraphQL Client for .NET Standard
Hi there: I have got a GraphQL Client instance which is tying to call a GraphQL API endpoint. My code looks like below: `var graphQLClient = new GraphQLHttpClient("https://abc.com/graphql", new NewtonsoftJsonSerializer());...
https://github.com/graphql-dotnet/graphql-client/blob/0b49bfcc59dbd21837eb1732cc01c354efb341d4/src/GraphQL.Primitives/GraphQLRequest.cs#L87 Is the intent of this to return the same hash based on the property values in any instance? It won't work as a "these two objects have the same...
We recently upgraded the client from version 1.0.3 to 4.0.2 (quite an upgrade, I know). One of the changes that we noticed is a change to the `GraphQLError` class. [In...
Hi I have problem with GraphQL.Client.Abstractions. I have portal with graphQL answer from portal to my request looks: ``` { "data": { "pages": { "single": { "title": "Tworzenie backup", "id":...
As part of using the the GraphQLHttpClient, I need to be able to log the full request sent and response received. I can do the former by subclassing GraphQLRequest (which...
Hello, I am trying to build a client for a very basic GraphQL request. This works for most of the response types, but the server sends 204 and 504 responses...
This PR makes GraphQLHttpClient usable with TestServer, targeting #354 **Usage** ``` TestServer testServer; //needs initialization GraphQLHttpClientOptions options; //needs initialization IGraphQLWebsocketJsonSerializer serializer; //needs initialization var graphQLHttpClient = testServer.CreateGraphQLHttpClient(options,serializer); ``` **Implementation** GraphQLHttpClient...
Hi, is there any valid example of AppSync subscription?? I saw some closed issues regarding AppSync support but looks like the subscription is not working. Could you please provide working...
Hi, guys. I noticed that when posting variables, enums are auto-converted to uppercase. ``` Variables = new { qr_type = qrType } public enum QrEnum { REGISTER, P, P_PLUS, P_or_P_PLUS...
I have used the sample code as described here https://github.com/graphql-dotnet/graphql-client My code is: ``` public static async void MRTestSub() { var graphQLClient = new GraphQLHttpClient(serviceURL, new NewtonsoftJsonSerializer()); var usdbActionAddedRequest =...