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
Those two parts are and for some reason when I run them separately it works fine, but when I decide to join them together (meaning running the Mesh with the OpenAPI Source, and the getExecutorForUnifiedGraph) it gives me the following result:
I did find in this page that I can pass my own fetch as a parameter of the Mesh, but trying it out with node-fetch or whatwg-node/fetch won't solve it.
I did however find a temporary solution,which is adding this two lines inthe httpOperation.js file of the graphql-mesh
Basically this solution is adding a fallback for the whatwgFetch in case there is no other fetch being define.
I was wondering if I should open this issue in the GraphQL Mesh repo, but since it works fine with the normal npx hive-gateway supergraph supergraph.js, and only has this error when using the getExecutorForUnifiedGraph I decided to open this here.
Here is a repo in which you can reproduce this error: hive-fetch-error
The text was updated successfully, but these errors were encountered:
I was trying to follow two parts of a tutorial for GraphQL Mesh:
Those two parts are and for some reason when I run them separately it works fine, but when I decide to join them together (meaning running the Mesh with the OpenAPI Source, and the getExecutorForUnifiedGraph) it gives me the following result:
I did find in this page that I can pass my own fetch as a parameter of the Mesh, but trying it out with node-fetch or whatwg-node/fetch won't solve it.
I did however find a temporary solution,which is adding this two lines inthe httpOperation.js file of the graphql-mesh
This one in the line 9:
And this one in the line 223:
Basically this solution is adding a fallback for the whatwgFetch in case there is no other fetch being define.
I was wondering if I should open this issue in the GraphQL Mesh repo, but since it works fine with the normal
npx hive-gateway supergraph supergraph.js
, and only has this error when using thegetExecutorForUnifiedGraph
I decided to open this here.Here is a repo in which you can reproduce this error: hive-fetch-error
The text was updated successfully, but these errors were encountered: