Skip to content
Discussion options

You must be logged in to vote

Ah found out the issue! I didn't see the error as I currently have a few hundred errors and am fixing one by one, but this error was split into two and the error way before is that:

the graphql type is called RemoveSegmentationCode and the generator is adding a Mutation suffix to that in the typescript type, which then causes a conflict, because of the typescript variable of the document is already called that.

Fix is to just rename the typescript document variable or the graphql type name.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jeggy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant