great video! i would like to see an implementation of publishing the domain events without mediatr
@spyroskatsios
2 ай бұрын
Thank you! Is that what you're looking for? kzitem.info/news/bejne/pYuJtn14i5ylopwsi=l5uD9BeDuyYc1v_4
@emanuelrodriguez3155
2 ай бұрын
@@spyroskatsios Yes! thank you very much
@marcossequeira5433
Ай бұрын
That's a interesting way to handle it. What if we have a worker that works async? I'm aswering because in that type of projects we don't have a MediatR with Pipelines Behaviors.
@spyroskatsios
Ай бұрын
Hi! The middleware serves the purpose of having everything in a single transaction. So, I guess you can have a transaction whenever you need and publish the events inside of it.
Пікірлер: 7