← 返回卡片

原书出处

Learning Domain-Driven Design

08 架构模式

First Edition · 核验版本的摘录快照 · 导入于 2026-10-23T15:45:15.820Z

A command should always let the caller know whether it has succeeded or failed. If it has failed, why did it fail? Was there a validation or technical issue? The caller has to know how to fix the command. Therefore, a command can—and in many cases should—return data; for example, if the system’s user interface

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch08.html

EPUB SHA-256:da8d47219d6910f6431498e98b9fadfbdadc1cb0e3004bae825392a2c6abc846