Albert Zakiev
Albert Zakiev
@jbogard, in terms of the MediatR API, I think this would require a new interface to define a request handler that returns a `ValueTask`. Outline code ```csharp public interface IValueTaskRequestHandler...
It's because `IRequestExceptionHandlerWrapper` is open generic and it's first parameter generic too Try register `GlobalRequestExceptionHandler` like this ```csharp services.AddScoped(typeof(IRequestExceptionHandler), typeof(GlobalRequestExceptionHandler)); ``` And have a look to `MediatR.Registration.ServiceRegistrar` class, which registering...