<span class="n">_</span><span class="p">):</span>
        <span class="k">break</span>
    <span class="p">}</span>
</code></pre>

<p>We recommend ensuring that your types extend from our base types for safety, then you implement the <code>required init(from decoder: Decoder)</code>:</p>
<pre class="highlight swift"><code><span class="kd">class</span> <span class="kt">MyCustomProduct</span><span class="p">:</span> <span class="n">moltin</span><span class="o">.</span><span class="kt">Product</span> <span cla