Skip to content

[client-preset] support explicit type annotation #8591

Answered by charlypoly
revero-doug asked this question in Ideas
Discussion options

You must be logged in to vote

Hi @revero-doug,

Thank you for your proposal; however, the point of the client-preset is to not manipulate generated types.
We already have plugins that provide such developer experience.

If you are willing to use gql with a tagged template approach, I encourage you to use the typed-document-nodes plugin instead of the client-preset while we work on improving it: https://www.the-guild.dev/graphql/codegen/plugins/typescript/typed-document-node

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@revero-doug
Comment options

Answer selected by charlypoly
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants