❔ 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?
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?