-
Notifications
You must be signed in to change notification settings - Fork 83
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
Undefined attributes key returns error #1
Comments
Hi, I keep this issue open, since I think. This should be an optional part of the framework. |
I've decided returning nil for an undefined variable instead of an error doesn't hurt and made it the default behavior. I've also added your example to the unit tests. |
We have a case where we want to actually error on unknown parameters. It would be great if it was easy to change this behaviour or show in docs how to achieve this with current functionality. |
You can achieve this with a custom VariableSelector. If you have suggestions for better documention feel free to contribute :-) |
Hi,
I'm trying to create a conditional expression if a variable is
nil
, but it throws anError
instead.Throw error
unknown parameter fooz
when it should bebar
. I've tried to solve this problem by change return error value to a nil value from private functionfunc variable(path ...Evaluable)
The text was updated successfully, but these errors were encountered: