知识卡片
管道契约变更需核对下游
每条管道都有发送给下个过滤器的数据契约,可能包含字段和类型。修改契约时,应逐个核对接收该数据的过滤器,验证其解析与业务判断是否仍成立;只测发送端不足以证明兼容。该约束与[[服务契约版本会产生维护负担]]相关,但本章聚焦单向流程内的相邻步骤。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Pipeline Architecture Style · 查看原书依据
Changing a contract between filters requires strict governance and testing to ensure that other filters receiving the contract don’t break.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第12章《Pipeline Architecture Style》(阅读计划第15项;源文件:`OEBPS/ch12.html`)
- 结论依据:原文定义管道数据契约,并要求变更时严格治理和测试,以免接收过滤器出错。
- 原始内容:Changing a contract between filters requires strict governance and testing to ensure that other filters receiving the contract don’t break.