Closed george-weare8 closed 11 months ago
Having the below JSON.
{ "eventName": "userCreated", "someKey": "someValue" }
Use MediatR to send this JSON to a RequestHandler based on eventName?
eventName
No. Before you call MediatR convert that to an event object then call Publish.
I thought so this is the way to go, thanks.
Having the below JSON.
Use MediatR to send this JSON to a RequestHandler based on
eventName
?