-
Notifications
You must be signed in to change notification settings - Fork 77
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
feat: Adding var
template support
#3053
Conversation
var
template support
server/expression/executor_test.go
Outdated
ExpectedErrorMessage: `resolution error: environment variable "test" not found`, | ||
ExpectedErrorMessage: `resolution error: variable "test" not found`, | ||
|
||
EnvironmentDataStore: expression.EnvironmentDataStore{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this attribute be VariableSetDataStore
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💥
@@ -99,5 +99,5 @@ func (ds EnvironmentDataStore) Get(name string) (string, error) { | |||
} | |||
} | |||
|
|||
return "", fmt.Errorf(`environment variable "%s" not found`, name) | |||
return "", fmt.Errorf(`variable "%s" not found`, name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should rename the EnvironmentDataStore
to VariableSetDataStore
or something similar
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! Do you mind retaking a look?
This PR updates the app to support the
var
keyword as part of triggers and test specsChanges
var
env
Fixes
Checklist
https://www.loom.com/share/a9d1958fe876417a9d38e42c4788878a