You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run this command, I do not get "Query" or "Mutation" appended to the generated type. Instead mine is just type Characters. Can I solve this without having to rename all my queries and mutations?
What am I doing wrong? Do I need to configure something? Or does my schema.json file need to have a certain key? Any help would be appreciated!
The text was updated successfully, but these errors were encountered:
I think this is probably due to a bug or either a change on specs that wasn't transfered to the docs.
Either way, I'd like to use this so that I can differentiate between the query/mutation types and the other interfaces that codegen generates. Can I submit a PR for this?
Hi 👋
In the docs, I came across this section:
Given this query:
Apollo Codegen will generate a union type for Character.
When I run this command, I do not get "Query" or "Mutation" appended to the generated type. Instead mine is just
type Characters
. Can I solve this without having to rename all my queries and mutations?What am I doing wrong? Do I need to configure something? Or does my
schema.json
file need to have a certain key? Any help would be appreciated!The text was updated successfully, but these errors were encountered: