-
-
Notifications
You must be signed in to change notification settings - Fork 402
Fix 'cannot be saved' on emphemeral vars. #8024
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
Fix 'cannot be saved' on emphemeral vars. #8024
Conversation
Just out of curiosity, since ephemeral variables are enabled by default now. Would it not be better to have an “isEphemeral” method on Variable? |
yeah that's what i meant by making the api like local vars |
ahh ok |
actually thinking more about this I don't think this solution is ok at all due to the evaluation problem |
Problem
ephemeral variables are not saved, yet were emitting 'cannot save x' warnings.
Solution
Adds a ephemeral field that acts identically to how local variables are determined. Variable#isEphemeral() is the public api.
Moves the static ephemeral token field from Variables to Variable to match the local token field.
Testing Completed
manual confirmation.
Supporting Information
Completes: #8023
Related: none