-
Notifications
You must be signed in to change notification settings - Fork 445
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
Shared variables are no longer accessible when selecting "No Environment" after update #420
Comments
@atrakaz nice catch, I have fixed the issue and will be published in next release 😄 |
@Huachao When this bugfix will be published to the production please? I started VSCode today and the error message is still shown. Shared environments are not available in my project. |
@jezikk version 0.22.1 is not totally ready, I am still working on some other features, and after that the 0.22.1 will be published |
@jezikk sorry the upcoming release version should be 0.22.2 |
It's oka now. Thanks! |
It works. Thanks! |
This issue is still here with VSCode 1.45.0 (Windows 10 x64) and REST Client 0.23.2. |
@cedx I can't repro your case, could you please double-check the defined shared environment variables in your settings and the referenced variable name in your |
Note: Worked yesterday before the new version
Steps to Reproduce:
...>AppData>Roaming>Code>User>settings.json:
"rest-client.environmentVariables": {
"emptyEnvironment": {
},
"$shared": {
"testUrl": "http://www.google.com/"
},
}
Select REST Client Environment: "No Environment"
test.http:
GET {{testUrl}}
=> Error message: "Cannot convert undefined or null to object"
When selecting "emptyEnvironment", Shared variables are accessible.
Conclusion:
This breaks the following statement when selecting the following: "No environment (You Can Still Use Variables Defined In $shared Environment)"
The text was updated successfully, but these errors were encountered: