title: Resolve reference in Block Content in Sanity.io
body: <p>I have the Content Block in Sanity like so:</p>
  <pre><code>export default {
  title: &quot;Block Content&quot;,
  name: &quot;blockContent&quot;,
  type: &quot;array&quot;,
  of: [
      /// stuff here
      {
          title: &quot;Book&quot;,
          type: &quot;reference&quot;,
          to: [{ type: &quot;book&quot; }],
      },
  ],
  };
  </code></pre>
  <p>When making a query like</p>
  <pre><code>'*[_type == &quot;post&quot;]{...,body[]{..., asset-&gt;{..., &quot;_key&quot;: _id}, markDefs[]{..., _type == &quot;internaLink&quot; =&gt; {&quot;slug&quot;: @.reference-&gt;slug}}}';
  </code></pre>
  <p>I get the reference, but I want to return the full Document. I tried every method but the documentation only explain references outside Content Blocks and those methods aren't working.</p>
  <p>This is what's returned from the Query:</p>
  <pre><code>  _createdAt: '2020-12-07T14:43:34Z',
    _id: '9d628aa6-aba7-4b53-aa9f-c6e97583baf9',
    _rev: 'ZZ0GkIKCRvD0tdMQPywPfl',
    _type: 'post',
    _updatedAt: '2020-12-07T14:43:34Z',
    body: [
      {
        _key: '4184df372bae',
        _type: 'block',
        children: [Array],
        markDefs: [],
        style: 'normal'
      },
      {
        _key: '56bed8835a7d',
        _ref: 'dc2eefee-2200-43e1-99c7-ea989dda16ba',
        _type: 'reference'
      }
    ],
    title: 'Example'
  </code></pre>