graphql-client icon indicating copy to clipboard operation
graphql-client copied to clipboard

A GraphQL Client for .NET Standard

Results 130 graphql-client issues
Sort by recently updated
recently updated
newest added
trafficstars

You should not use [`new HttpClient()`](https://github.com/graphql-dotnet/graphql-client/blob/b366e22af112445452440c2c6c1d9978ecef97cb/src/GraphQL.Client/GraphQLHttpClient.cs#L60) in GraphQLHttpClient constructor, because there is known problem with `new HttpClient()` socket exhaustion under heavy server load. Instead, you should inject 'IHttpClientFactory' and call...

The overloads of the extension methods `CreateSubscriptionStream()` accepting the `defineResponseType` argument (allowing to use anonymous response types) are defined twice, namely: 1. in [`GraphQL.Client.Abstractions.GraphQLClientExtensions`](https://github.com/graphql-dotnet/graphql-client/blob/v4.0.1/src/GraphQL.Client.Abstractions/GraphQLClientExtensions.cs#L41-L53) 2. in [`GraphQL.Client.Http.GraphQLHttpClientExtensions`](https://github.com/graphql-dotnet/graphql-client/blob/v4.0.1/src/GraphQL.Client/GraphQLHttpClientExtensions.cs#L30-L44) This code will...

When I execute a mutation for deleting I don't get the errors in Errors but instead the 'graphQLResponse = await graphQlClient.SendQueryAsync(request);' will throw and InternalServerError So I would like to...

When initializing SystemTextJsonSerializer with a custom JsonSerializerOptions, it messes the options in ways that are very difficult to predict and very difficult to debug. I am using .Net 5 I...

This doesn't really live here but wanted to log something for anyone that comes looking for a solution to using this client with AWS AppSync. Feel free to close this....

enhancement

The following tests fail randomly on the test job in GitHub Actions: - [`GraphQL.Integration.Tests.WebsocketTest.CanReconnectWithSameObservable`](https://github.com/graphql-dotnet/graphql-client/blob/f5a5b1e4a3b88ca72ac16e1ed982b8107eb9b1f5/tests/GraphQL.Integration.Tests/WebsocketTest.cs#L112) - [`GraphQL.Integration.Tests.WebsocketTest.CanConnectTwoSubscriptionsSimultaneously`](https://github.com/graphql-dotnet/graphql-client/blob/f5a5b1e4a3b88ca72ac16e1ed982b8107eb9b1f5/tests/GraphQL.Integration.Tests/WebsocketTest.cs#L182) on line 205 I've not yet been able to reproduce this on my development...

help wanted

I understand that you can add headers at the client level (that get sent for every request) but how can I add a header at the request level. e.g. This...

question

Is there any simple example: Server and Client? To see how to use the subscriptions

Hello everybody, I'm using graphql-dotnet project a lot and would like to thank you for the amazing product you build for the whole .Net community. My company is building GraphQl-first...

I need to use the OperationName and Variables to dynamically pass in arguments. when I am executing the query, I am getting syntax errors. When I debug throught the code,...