Replies: 1 comment
-
Looks like this is probably what I want: https://the-guild.dev/graphql/codegen/docs/config-reference/documents-field#output-file-level (different output files depending on different document patterns). |
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
-
Hi, I'm currently working on a project where we are migrating from 1 GraphQL schema to another. The 2 schemas share many identical root-level field names, but many arguments and other object relationships are different. Adding the 2 schemas into the
schema: []
array has already produced the expected errors where it seems whatever schema that comes later gets overridden by the one earlier.Anyone have any ideas on how to maybe set up 2 separate instances of graphql-codegen in a codebase, or alias the names of one of them?
Beta Was this translation helpful? Give feedback.
All reactions