Intended outcome:
Running client:codegen to generate GQL types from local project.
Actual outcome:
When running this command, it just hangs (I waited 40 minutes before giving up).
npx apollo@2.18.0 client:codegen --localSchemaFile $GRAPHQL_SCHEMA_PATH --target 'typescript' --outputFlat --includes "server/src/**,frontend/src/**" $OUTPUT_PATH
GRAPHQL_SCHEMA_PATH and $OUTPUT_PATH are local files one subdirectory down.
Please note that if if I use 2.17.4 instead of 2.18.0, it works perfectly under the exact same scenarios.
How to reproduce the issue:
I'm not sure how to help reproduce this because I don't want to share the codebase, but admittedly without more in-depth logging from the script, I can't pinpoint what might be causing the issue.
Is there a way to enable verbose logging as it runs codegen for me to see where it's hanging? With that I might be able to create a reproducible sample.
Versions
As mentioned above, it works for 2.17.4 but hangs for 2.18.0.
Intended outcome:
Running
client:codegento generate GQL types from local project.Actual outcome:
When running this command, it just hangs (I waited 40 minutes before giving up).
GRAPHQL_SCHEMA_PATHand$OUTPUT_PATHare local files one subdirectory down.Please note that if if I use
2.17.4instead of2.18.0, it works perfectly under the exact same scenarios.How to reproduce the issue:
I'm not sure how to help reproduce this because I don't want to share the codebase, but admittedly without more in-depth logging from the script, I can't pinpoint what might be causing the issue.
Is there a way to enable verbose logging as it runs codegen for me to see where it's hanging? With that I might be able to create a reproducible sample.
Versions
As mentioned above, it works for
2.17.4but hangs for2.18.0.