@alexrios.meAlex Rios @alexrios.me
2026-09-18 14:12 UTC
For more complex lifecycles, I'd use an explicit state machine to define allowed transitions and their guards. I'd still expose operations like publish() and archive(), with those rules enforced inside, though. For a handful of states, checks in those methods may be enough.
A reply in a thread.
1 likes, 0 reposts, 0 replies
3 Next post4 More from @alexrios.meBackBluesky home