How to use typescript-generic-sdk to call graphql-js execute #7719
Unanswered
marceloverdijk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use
@graphql-codegen/typescript-generic-sdk
to callgraphql-js
execute
directly (without the use of http client).typescript-generic-sdk
generates a SDK which looks exactly what I want ;-)I created a custom
Requester
which callsgraphql-js
execute
:However this gives some Typescript errors unfortunately and I'm not sure how to solve it...
and later when making a build the compiler fails as well:
Any help appreciated.
This is the signature from
graphql-js
:Beta Was this translation helpful? Give feedback.
All reactions