原书出处
Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)
03 Communication and Data Contracts
Use the narrowest types for your event data. This lets you rely on the code generators, language type checking (if supported), and serialization unit tests to check the boundaries of your data. It sounds simple, but there are many cases where ambiguity can creep in when you don’t use the proper types. Here are a few easily avoidable real-world examples:
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch03.xhtml
EPUB SHA-256:2f625067377fb98cec5ecdbfe31111c33111bcdcaf609e1d4637835a53b1b4b0