Upgrading MediatR 6 to 7
Breaking6.0.0 → 7.0.0Breaking1
BreakingUpgrade verdict
1 breaking change.
In plain terms
- If you wrote a request post-processor, you must update its Process method to accept a cancellation token.
Must act 1 item needs code or config changes
What you must change
Breaking1
Request post-processors now receive a CancellationToken in their Process method, changing the interface signature.
ProcessTRequestTResponseCancellationToken