Closed TheZwieback closed 1 year ago
I have the same issue, did you fix it somehow?
nvm: I just merged them beforehand in my script:
cat ./gql/**/*.graphql > ./merged.graphql
closing this issue, since can be solved by concatenating the documents before processing.
Hi, I am using the generator to create an operations.py file from multiple input files and deep import path. My generate command is:
sgqlc-codegen operation --schema schema.json src.services.apc.graphql.schema operations.py graphql/orders.gql graphql/hierarchy.gql
The generated operations.py file has two issues: The schema import path is:
but should be
And the other issue is the generated operations.py file contains multiple definitions of Operations, Mutation and Query class, one for each file, but only one of each with all queries/mutations should exist.
The full generated file (except execution methods):