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

这个扩展与 kitex 强耦合,针对存量 option 的变更会同步影响这个扩展的迭代,这方面有考虑吗? #4

Open
BaiZe1998 opened this issue Jul 4, 2024 · 1 comment

Comments

@BaiZe1998
Copy link

No description provided.

@DMwangnima
Copy link

首先是 Kitex 侧的 option 会保证兼容性,即只增不减。
针对存量 option

  • 需废弃
    在大版本变更前打上 deprecated comment,告知用户不再使用该 option。
  • 需修改
    创建一个新的 option,并在原有的 option 上打上 deprecated comment
    综上,存量 option 变更并不会给 optionloader 带来兼容性影响。且针对 option 的操作都是深思熟虑的,毕竟直接面向用户,因此在当前 Kitex 较为成熟的阶段,option 变更与迭代的频率是比较低的。

我能 get 到你的想法,即 optionloader 的动态性要足够好。但现在的目标还是尽可能得提供一个开箱即用的 option 加载工具,降级用户的配置成本,其他点我们可以在之后慢慢扩展。如果你对这个项目感兴趣,或者有其他好的想法,我们都可以一起讨论~

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

2 participants