How to integrate TypedDocumentNode? #990
Unanswered
itai-spiritt
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
-
Hey all
I have looked at the example of
TypedDocumentNode
and also looked into the original lib.I couldn't quite figure out how to use the
TypedDocumentNode
.If I understand that correctly, I have to run some generative CLI to generate the types of my gql queries, but how do I do that using
graphql-request
?In this guide it's documented to install and generate the types, but then it's also stated that the client libs should handle that.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions