Typescript code generator and partial queries #8076
Unanswered
danielvanmil
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.
-
Hello,
Example schema for like this:
Typescript codegen now generates a Person class and a getPersonDocument, but the the getPersonQuery (return type) does not return all the fields (as I don't need them in this example), so the compiler complains as expected. How to handle this properly in TypeScript codegen?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions