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

一个小建议:对环境变量配置 增加私有和公有属性 #1554

Open
Youngyezi opened this issue Dec 31, 2021 · 4 comments
Open

一个小建议:对环境变量配置 增加私有和公有属性 #1554

Youngyezi opened this issue Dec 31, 2021 · 4 comments

Comments

@Youngyezi
Copy link

对环境变量配置进行公私有区分,方便个人和团队一起使用

@githubpan
Copy link
Contributor

+1,最好再来个全局环境变量,现在每个项目都要单独添加一遍环境变量

@star7th
Copy link
Owner

star7th commented Dec 31, 2021

增加私有和公有属性这个我是有在考虑了的。目前比较模糊的点在于执行脚本那里,修改的是公有环境变量还是私有环境变量,抑或两种修改方式都提供。我晚点参考下postman是怎么做的。

全局环境变量的话,感觉就不是很有必要吧。现在新版已经支持环境变量的导入导出,在不同项目之前添加环境变量应该变容易了很多。倒是全局环境变量可能会引起逻辑上的麻烦。比如说,这个全局环境变量,指的是本地的全局环境变量还是整个团队的?团队成员是否共享这个全局变量?成员的成员又是否共享变量?感觉可能带出不少逻辑问题。暂时先不考虑吧。

@ch3ngxuyuan
Copy link

这个真的挺重要

@star7th
Copy link
Owner

star7th commented Feb 11, 2025

已更新,增加了本地变量。本地变量相当于私有变量了。重新下载安装即可 https://www.showdoc.com.cn/runapi

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

No branches or pull requests

4 participants