graphql
graphql copied to clipboard
Using alternative rest clients
Hello,
I was wondering if its possible to use alternative HTTP clients or how much work it would be to support this.
For example i'm looking to add retry & backoff to my graphql client based on top of this library and there are a handful of libraries out there such as https://github.com/go-resty/resty
But it seems like most act as a wrapper ontop of http.Client and there is no way to pass in a https://github.com/go-resty/resty client to be used at the http.Client and retain all functionality for things like retry & backoff.
Am I thinking about this incorrectly and is there a way to solve retry & backoff without using a http.Client wrapper?
Thanks!