@ismasan that's more or less what I meant. When you are just guarding invariants, your decision is only a success/failure. However it might be different in some domains.
For example, when you have Loans, in response to "register payment" you might decide just "payment registered" but also additionally "loan paid back" if it's the last installment. This is beyond invariants and IMO is the heart of a domain.
=> More informations about this toot | View the thread | More toots from katafrakt@ruby.social
=> View ismasan@ruby.social profile
text/gemini
This content has been proxied by September (3851b).