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
建议添加环境配置和多重继承的支持 #60
Comments
|
感谢您的回复!
此外还可以考虑一下项目的分组,现在项目如果太多的话不太好查看。 |
你好,我现在打算做多环境支持。环境应该是跟应用关联,还是跟配置项关联呢?其它配置中心不知道如何处理的。 |
应该是根应用关联把,一个应用有一系列通用的配置项,然后应用在不同的环境下的配置项可以有不同的值 |
1.5版本已经支持多环境。 |
|
多级继承可以在编辑画面看到哪些是继承, 哪些是被覆盖的的吗, 目前UI上看不到. |
我也觉得需要展示一下,计划中。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
建议添加环境配置和多重继承的支持
1. 环境配置
当前没有环境的概念,支持环境的配置后可以很方便地在不同的部署环境下切换配置;
可分开发环境、测试环境和生产环境,类似于 appsettings.json,appsettings.Development.json的关系。
2. 多重继承
当前只有两个层级,支持多重继承可以提高配置的复用。
子配置可以继承父配置,孙子配置可以继承子配置等,没有继承层级的限制,或者最多能支持到3~5层配置。
The text was updated successfully, but these errors were encountered: