-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Env Variables in Remote Schema URL #328
Comments
PvtPuddles
changed the title
Support Env Variables in Remove Schema URL
Support Env Variables in Remote Schema URL
Dec 11, 2024
bombsimon
added a commit
to bombsimon/ariadne-codegen
that referenced
this issue
Dec 26, 2024
This allows an environment variable in any position for headers as long as it is in format `$VAR` or `${VAR}` allowing alphanumeric characters and underscore `_`. This is now also applied to `remove_schema_url` in addition to headers. Fixes mirumee#328 Relates to mirumee#231
bombsimon
added a commit
to bombsimon/ariadne-codegen
that referenced
this issue
Dec 26, 2024
This allows an environment variable in any position for headers as long as it is in format `$VAR` or `${VAR}` allowing alphanumeric characters and underscore `_`. This is now also applied to `remove_schema_url` in addition to headers. Fixes mirumee#328 Relates to mirumee#231
bombsimon
added a commit
to bombsimon/ariadne-codegen
that referenced
this issue
Dec 26, 2024
This allows an environment variable in any position for headers as long as it is in format `$VAR` or `${VAR}` allowing alphanumeric characters and underscore `_`. This is now also applied to `remote_schema_url` in addition to headers. Fixes mirumee#328 Relates to mirumee#231
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello. I would like to parameterize my
remote_schema_url
with environment variables (similar toremote_schema_headers
), but it doesn't appear possible.My use case is that our organization has several development systems and multiple production systems, and we typically switch between them using our
.env
files.Ex:
.env
pyproject.toml
The text was updated successfully, but these errors were encountered: