You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just FYI, You can pass in a Transport to go HTTP client to do exactly the same. Like in this repo: https://github.com/sunfmin/handlertransport, I make the HTTP client doesn't request a remote address but go through a local HTTP handler.
It would be nice if https://github.com/machinebox/graphql/blob/master/graphql.go#L48 could take a
Doer
interface, compatible with the std lib*http.Client
so that clients can pass in whatever http client they want:This shouldn't break any clients using the std lib today.
I'd be happy to create a PR if you don't see any issue with the change.
The text was updated successfully, but these errors were encountered: