Skip to content

Upgrading MediatR 6 to 7

Breaking6.0.0 → 7.0.0Breaking1

BreakingUpgrade verdict

1 breaking change.

  • If you wrote a request post-processor, you must update its Process method to accept a cancellation token.
1 item needs code or config changes
Breaking1
Request post-processors now receive a CancellationToken in their Process method, changing the interface signature.
ProcessTRequestTResponseCancellationToken