 maxCostZIO(maxCost)(f: Field =&gt; URIO[R, Double]) if your field calculation returns an effect</span>

</code></pre></div><p>In the above example we have provided a couple different examples. For instance, we can add the directive to both types and
to fields. In this case the field resolver will override the type cost, however if there is no field cost then the type cost will be used.
We may also specify a &quot;multipliers&quot; argument when using arguments. This will match the argument names and use nu