There was an error while loading. Please reload this page.
This release includes the following breaking changes in the API:
CreateStream
IMediator
IPipelineBehavior
where TRequest notnull
where TRequest : IRequest<TResponse>
IRequestExceptionHandler
IRequestPostProcessor
IRequest
IRequest<TResponse>
IBaseRequest
IStreamRequest<TResponse>
INotification
MediatR.Contracts
For the IMediator change, it will likely only affect manually created implementations for testing purposes.
The modification of the generic constraints affects existing open generic implementations. These will likely need to include an additional constraint:
public class GenericPipelineBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse> + where TRequest : IRequest<TResponse> {