❔ Weird issue with MediaR pipeline.
I have such a typical pipeline UnhandledExceptionBehaviour, which executes before executing command.
And it's works fine, for example for this kind of request:
But when there is no content, this pipeline is omitted. For example:
It is the request:
There used to be a
,
but I read to remove <Unit> in the new version of MediaR and it caused the code to no longer work as it used to.
Why?
2 Replies
Ok, found the issue.
In new version, there is need to change:
To:
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.