-
Notifications
You must be signed in to change notification settings - Fork 257
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
Apollo Gateway: Add make-fetch-happen fetcher as the default fetcher for the downstream services #192
Comments
This will also help us to make the gateway's fetcher compatible (which uses |
I'll just re-quote my comments from #193 (comment), as I think they are relevant to this proposed change:
|
As the subject says. Couple of things that I'm not sure about. 1. When I make a call to `.defaults()` do I need to pass any extra parameters? Didn't look like the `node-fetch` version did, but I want to make sure we don't want to add any extra headers or anything. For reasons stated in #192, I'm being careful and turning off retries completely, but I believe this was also the case in `node-fetch` 2. Obviously this needs to get into the CHANGELOG, but I'm assuming we do that when we cut a new version?
Currently the
RemoteGraphQlDataSources
uses node-fetch as the default fetcher, it will be good if we switch this tomake-fetch-happen
fetcher which provides us with additional features and provides support for default request options which is very much required in the real world use cases.The text was updated successfully, but these errors were encountered: