Comments (3)
An interesting feature, but here are some points:
- Microsoft.Extensions.Http is only for netstandard2.0 | This project is also for netstandard1.X
- For now, the Microsoft.Extensions.Http is in preview.
- Also, this seems more likely to avoid the
using
of an HttpClient. The GraphQLClient is like a wrapper for an HttpClient, so it is not used directly.
As an advance, we are going to create an extension method for HttpClient like httpClient.AsGraphQLClient() -> GraphQLClient
. So you can use an HttpClient for anything and then transform it to a GraphQLClient,
from graphql-client.
yeah, you are right, I'm reopenin this for v2.0.0
from graphql-client.
ASP.NET Core 2.1 with HttpClientFactory is out now. It would be useful to add the AsGraphQLClient()
method tyou mentioned above.
from graphql-client.
Related Issues (20)
- Headers into GraphQLHttpRequest HOT 1
- WebsocketConnectionState never changes to Connected
- Extract requested fields from query/response HOT 2
- GraphQLLocalExecutionClient: Add user credentials/token HOT 6
- Invalid Cast Exception when using Subscriptions HOT 2
- AppSync Subscription error: 'SubProtocolNotSupportedError' HOT 6
- Error in a Mutation Execution of 6.0.1 Nuget Version HOT 2
- 6.0.1 - System.ObjectDisposedException (SendWebSocketMessageAsync) HOT 1
- Getting "System.Net.Http.HttpRequestException: No such host is known" on Windows HOT 1
- Upgrade from 4.0.2 to 6.0.1 results in InitializeWebsocketConnection() error
- Casting Error in GraphQL C# Library HOT 4
- MapConverter throws if extensions property is null
- .NET 8.0 Issue w/ SystemTextJsonSerializer HOT 1
- SendQueryAsync fails unless Uri has a trailing '/' HOT 1
- GraphQL.Client.Example fails with exception
- Subscription disposed but connection remains HOT 4
- first and take not working properly? HOT 2
- How to use Polly with this library? HOT 1
- AppSync's WS connection closing at initialization
- Json Serialiser doesn't handle structs well and ignores type converters HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-client.