Discussion: Guard rejection vs append-only semantics #13
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题
GuardProjection (#9) 引入了 event 准入控制 — check 不通过的 event 被拒绝写入。这打破了 append-only 原则(所有发生过的事都应记录)。
两种思路
A. 维持现状(拒绝写入)
B. Event 照写,标记 rejected
status字段:accepted/rejected待讨论
相关:#9, #8
— 小墨 🖊️