jbogard / MediatR

Simple, unambitious mediator implementation in .NET
Apache License 2.0
10.91k stars 1.16k forks source link

IPublisher added to contracts #977

Closed VarunSaiTeja closed 8 months ago

VarunSaiTeja commented 8 months ago

I have a project for data persistence. When I saved data with UOW, I want to publish an event, Since its persistence project I dont want to use MediatR full package in my persistence layer.

So I thought it would be nice to have IPublisher in contracts.

jbogard commented 8 months ago

That's not what the Contracts package is for. It's for sharing request/response and notification contracts across systems.