struggling with a simple 'byId' query with @apollo/client #8542
Answered
by
charlypoly
jcollum-nutrien
asked this question in
Q&A
-
|
Generated the code and I have a My code: But I get a TS failure: So how do I run a I have to say it's really hard to google for examples with this tool because there was already a "graphql codegen" tool (that's being deprecated). I really wish this tool had a more distinct name. |
Beta Was this translation helpful? Give feedback.
Answered by
charlypoly
Oct 31, 2022
Replies: 1 comment 2 replies
-
|
Hi @jcollum-nutrien, The following line: Should be as follow: |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
charlypoly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hi @jcollum-nutrien,
The following line:
Should be as follow: