-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support injection of HttpClient instances #125
Comments
That is a very good suggestion. |
Would an additional ctor implemented like this be sufficient?
|
Maybe also one where the Happy to submit a PR if there’s a rough approach agreed. |
We are pretty interactive... |
Cool, I'll give that a whirl when I get next a spare hour or so. |
Have opened #131 with some very basic changes to |
I guess this is closed now #131 is merged? 😺 |
Yup. |
The
Connection
class should be extensible enough to allow for interoperability with the HttpClientFactory in .NET Core 2.1.This would allow users to use the out-of-the-box GraphQL client in their applications easily while applying cross-cutting concerns like retries, handler pooling, centralised configurability etc. without having to implement
IConnection
themselves to remove theHttpClient
instance created privately perConnection
instance.The text was updated successfully, but these errors were encountered: