知识卡片
何时协调破坏性改动
先确认所有消费者和变更范围,再比较一次协调与维持兼容层的成本。内部分支、联合部署和少数已知客户端适合同步切换,未知客户端多时应准备旧行为和迁移窗口。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Versioning an API and handling breaking changes 20.3 Releasing a breaking change · 查看原书依据
A coordinated breaking change approach works best when you’re able to assess the impact on consumers and when the cost of coordinating the change is lower than the implementation cost for any of the other alternatives we’ll discuss in this chapter.
参考来源
- 位置:《Designing APIs with Swagger and OpenAPI》第20章《Versioning an API and handling breaking changes》(来源项目 book-source:extracted/Designing APIs with Swagger and OpenAPI/_epub-src/OEBPS/Text/ch20.htm,阅读块 50)
- 结论依据:原文把可评估影响与协调成本作为同步切换条件。
- 原始内容:A coordinated breaking change approach works best when you’re able to assess the impact on consumers and when the cost of coordinating the change is lower than the implementation cost for any of the other alternatives we’ll discuss in this chapter.