Skip to content
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

projectConfig.vars.environmentName isn't set in the compilation step within the UI #295

Open
dwl285 opened this issue Feb 12, 2021 · 1 comment

Comments

@dwl285
Copy link

dwl285 commented Feb 12, 2021

projectConfig.vars.environmentName isn't set in the compilation step within the UI (even within an environment).
image

Steps to recreate:

  • Create an environment
  • Add dataform.projectConfig.vars.environmentName to a SQLX file
  • Open the environment in the UI
  • Check the value of environmentName in the compiled query

Expected result:

  • dataform.projectConfig.vars.environmentName = the environments name

Actual result:

  • dataform.projectConfig.vars.environmentName is undefined
@frans-snyders
Copy link

https://docs.dataform.co/dataform-web/scheduling/environments

I found out that these variables only resolve "when schedules are executed"
but yes, it would be nice to have them resolve on user runs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants