[Feature Request] variable initial and local value
Hello,
thanks for your awesome work. The variables in the environment or pre-request are saved on the git repo. So if I'm testing something and one of my colleague changes the same variable it's a problem.
Could you implement an "initial value" saved on the collection, and a "local value" not saved, so if one changes the local it won't be saved in the git repo?. Obviously the local value, if present, must overwrite the initial value.
Thanks Andrea
This sounds related to #1033 Any mechanism that would let me set a variable value, but NOT save that value to the file would be great.
Yep the 1033 Is an awesome request, but if you have 10 variables and usually you have to change 1 or 2 values a default value would be great. Just save those default values on a file local.json like secret.json and let the user to customize it: for example when the popup is showed prefill with default values, a button "save as default" will alter then and another "continue" will use those values, even changed, without saving it.
...Just save those default values on a file local.json like secret.json and let the user to customize it...
That's exactly what I had in mind, although I think I'd want these values to be even more transient, so that they don't carry over to the next session, or maybe even if I closed the tab and reopened it. I want an in-memory-only option so that I don't accidentally run one of these requests with the same values in the future. Maybe the dialog could have checkboxes to determine whether or not the values would be retained at all.
Probably, we can consider these ephemeral variables as secrets. It will prevent these values from being pushed to git.
Yep that would be awesome, but please don't mask them, otherwise, like with secrets, we have to untick the secret checkbox to alter the content and then tick the checbox
Another idea how to support default values is via .env.default which should be under version control and be overridden by your local .env if specified.
Any progress on this?