o register with this option:</p>
<pre><code class="lang-csharp">options =&gt; options.WithOptionalMediation()
</code></pre>
<p>And don't forget to register MediatR itself as usual:</p>
<pre><code class="lang-csharp">services.AddMediatR(YOUR_REQUESTHANDLER_ASSEMBLIES);
</code></pre>
<p>Where <code>YOUR_REQUESTHANDLER_ASSEMBLIES</code> should be the assemblies containing your custom request handlers, if you get some (Apizr MediatR request handlers will be auto registered).</p>
<h3 id="using">Using</h3>
<div c