- Hands-On Microservices with C#
- Matt R. Cole
- 121字
- 2021-07-23 17:25:22
Message versioning guidance
Here are a few tips for message versioning:
- If the change cannot be implemented by extending the original message type, then it is not a new version of the message; it is a new message type
- If you are unsure, prefer to create a new message type rather than version an existing message
- Versioned messages should not be used with request/response as the message types are part of the request/response contract and Request<V1,Response> is not the same as Request<V2,Response>, even if V2 extends V1 (that is, public class V2 : V1 {})
- Versioned messages should not be used with send/receive as this is targeted sending and therefore there is a declared dependency between the sender and the receiver
推薦閱讀
- Ansible Configuration Management
- 現代測控電子技術
- PIC單片機C語言非常入門與視頻演練
- 數控銑削(加工中心)編程與加工
- ROS機器人編程與SLAM算法解析指南
- Spark大數據技術與應用
- Lightning Fast Animation in Element 3D
- 愛犯錯的智能體
- Salesforce Advanced Administrator Certification Guide
- 自動化生產線安裝與調試(三菱FX系列)(第二版)
- 簡明學中文版Photoshop
- AMK伺服控制系統原理及應用
- 基于Proteus的PIC單片機C語言程序設計與仿真
- Hands-On Geospatial Analysis with R and QGIS
- 工程地質地學信息遙感自動提取技術