All challenges
Code AnalysisIntermediate 60s

Unit of Work spanning aggregates

// One transaction mutates Customer AND Order AND Invoice aggregates: await uow.transaction(async () => { customer.loyalty += 10; order.markPaid(); invoice.issue(); await repo.save(customer, order, invoice); }); Why is this often an architectural smell in DDD?

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle