generated from apollographql/typescript-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
What's the way ahead for this lib and node-fetch?
Should datasource-rest@v7 come, what would be the minimal supported node version?
Since node 21, the global fetch (undici-based) is stable. Should the global fetch be used as the default for HTTPCache, the node-fetch dependency could be dropped.
Users could still provide their own fetch impl as they do know, but the library would be less prone to more and more issues related to the outdated node-fetch v2 (e.g. #331). Caring about v3 (ESM only) will also become a non-issue.
Known obstacles:
nockneeds to upgraded to v14 (currently in beta)nockneeds to have Native fetch response clone missesurlnock/nock#2821 fixed
evankirkiles
Metadata
Metadata
Assignees
Labels
No labels