Partial refunds with no if statement
Chris · August 28, 2026
A payment domain in Hecks had nowhere to put the one small if every refund flow needs. What replaced it — two commands, opposite guards, two policies on one event — is more honest than the branch was.
- hecks
- payments
- domain-modeling