Replies: 1 comment 1 reply
-
@watzon The code generation can be disabled in production as seen here. Perhaps you can have it disabled based on the environment variable NODE_ENV being set to |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We're using this for an application which connects to a staging application in development, but in production it needs to connect to the production version of the app. The staging version of the app has introspection turned on, as it isn't public facing, but the production app has introspection turned off seeing as it isn't a public API and we'd rather not have people skimming our schema. This means that when doing a build in the production environment codegen doesn't work and the build inevitably fails.
Is there a recommended pipeline for local development to production deployment with this?
Beta Was this translation helpful? Give feedback.
All reactions