Skip to content
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

[server] Implement a getAllEnvVars() method that doesn't filter on repository pattern precedence #3938

Merged
merged 2 commits into from
Apr 14, 2021

Conversation

jankeromnes
Copy link
Contributor

@jankeromnes jankeromnes commented Apr 14, 2021

Fixes #3839

Context: The repository pattern precedence filtering was hoisted from theia into server in #3569, but it's not actually relevant to show users all their environment variables.

@jankeromnes jankeromnes marked this pull request as ready for review April 14, 2021 15:44
@jankeromnes jankeromnes changed the title [server] Implement a second getAllEnvVars() method that doesn't filter on repository pattern precedence [server] Implement a getAllEnvVars() method that doesn't filter on repository pattern precedence Apr 14, 2021
@jankeromnes
Copy link
Contributor Author

jankeromnes commented Apr 14, 2021

Ok, this now works as expected again. Please take a look. 😇

@gtsiolis
Copy link
Contributor

gtsiolis commented Apr 14, 2021

Looking at this now! 👀

Copy link
Contributor

@gtsiolis gtsiolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this @jankeromnes!

question: Is it expected that using the same variable name and project scope does not work? If so, could we add a validation error message telling the user that this variable name for this scope alrady exists? Feel free to open a follow up issue for this. 🏓

@jankeromnes
Copy link
Contributor Author

jankeromnes commented Apr 14, 2021

Many thanks for the quick review! 💯

Feel free to open a follow up issue for this.

Whoops, indeed. Done: #3942

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Environment Variables with the same name are hidden from the list
2 participants