Find MediatR Requests without Handlers

added by DotNetKicks
12/8/2017 2:09:25 AM

2 Kicks, 294 Views

You've run into it. MediatR throwing an InvalidOperationException when you didn't have a matching handler for a request. There's a fairly simple solution to prevent this: Find MediatR Requests without Handlers. So here's some quick code you can throw in a unit test to verify you don't have any missing handlers.


0 comments