title: Avro schema getting undefined type name when using Record type
body: <p>so im trying to parse an object with this avro schema.</p>
  <p>object is like:</p>
  <pre><code>myInfo: {size: 'XL'}
  </code></pre>
  <p>But Its behaving like the record type doesn't actually exist and im getting a <code>undefined type name: data.platform_data.test_service.result.record at Function.Type.forSchema</code> for it.</p>
  <p>schema looks like:</p>
  <pre><code>  &quot;avro&quot;: {
      &quot;metadata&quot;: {
        &quot;loadType&quot;: &quot;full&quot;,
        &quot;version&quot;: &quot;0.1&quot;
      },
      &quot;schema&quot;: {
        &quot;name&quot;: &quot;data.platform_data.test_service.result&quot;,
        &quot;type&quot;: &quot;record&quot;,
        &quot;fields&quot;: [
          {
            &quot;name&quot;: &quot;myInfo&quot;,
            &quot;type&quot;: &quot;record&quot;,
            &quot;fields&quot;: [{
              &quot;name&quot;: &quot;size&quot;,
              &quot;type&quot;: {&quot;name&quot;:&quot;size&quot;, &quot;type&quot;: &quot;string&quot;}
            }]
        }
        ]
      }
    }
  </code></pre>
  <p>I should mention im also using <code>avsc</code> for this. Anybody have any ideas? I've tried pretty much all combinations but afaik the only way of parsing out an objct like this is with <code>record</code></p>