GraphQL description (comment) is not generated when using a near-operation-file
preset
#500
Unanswered
wjlee-mathpang
asked this question in
Q&A
Replies: 0 comments 1 reply
-
Sorry for not answering your question but what are the reasons you want to use |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
We are using the
near-operation-file
preset to create a type in the separate files.When using the
client-preset
, the generated types had comments with the same comments as the graphQL schema comments, but when using thenear-operation-file
preset, the comments from graphQL were not generated.How do I generate types in separate files but also generate comments in the schema?
I've tried adding the
typescript
plugin - it creates a comment, but that creates a type in each file with the same codes.graphql-schema.graphql
territory.generated.ts
Expected Result: territory.generated.ts
config.ts
Beta Was this translation helpful? Give feedback.
All reactions