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

接口变动的安全性 #1

Open
yiding-he opened this issue Aug 5, 2020 · 1 comment
Open

接口变动的安全性 #1

yiding-he opened this issue Aug 5, 2020 · 1 comment

Comments

@yiding-he
Copy link

当接口出现变更时,如何尽可能在编译期就能定位带来的影响和不兼容的部分?Maven 的版本管理可以考虑拿来利用下,比如发布接口 1.0.0 就需要:

  • 在 Nexus 上发布 service-api-1.0.0;
  • 在 Eureka 上发布 /service/api/1.0.0

这样可以做到多个接口版本并存,同时使用方也不会搞混。

@dragontree101
Copy link
Contributor

老板牛逼。。。。 可以考虑一下, 不过落地起来比较难, 不可能去检查每个人定义的接口,口头的约定都是不靠谱的。。。

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