4 ms·
Relax, don't do it. When you want this, you're turning the relations in postgres into a contract. No service gets to persist internal state. If you're _really_
by rpier001 3y ago
Relax, don't do it. When you want this, you're turning the relations in postgres into a contract. No service gets to persist internal state. If you're _really_ committed to domain driven design it could work... but you'd be better off with a light (but real) event driven system.
- deleted 3y ago[deleted]
- slotrans 3y agoThe relations in the database _are_ a contract whether you like it or not. Event-driven anything is 1000x more complex.