How to get image URL with GraphQL? Let's say I have a field image in a Product entity. When I query a Product, I'd like to include the URL of the field image in the response.

The documentation states we can use image_url.

According to this issue I tried the following but I still get null for my field in the response.

$registry-&gt;addFieldResolver('Product', 'image',
  $builder-&gt;compose(
    $builder-&gt;produce('property_path')
      -&gt;map('type', $builder-&gt;fromValue('entity:product'))
      -&gt;map('value', $builder-&gt;fromParent())
      -&gt;map('path', $builder-&gt;fromValue('field_image.value')), // not sure if value is the correct property here
    $builder-&gt;produce('image_url')
      -&gt;map('entity', $builder-&gt;fromParent())
      -&gt;map('field', $builder-&gt;fromValue('field_image'))
  )
);
The property of field_image.value is wrong, it should be field_image.entity.

$registry-&gt;addFieldResolver('Product', 'image',
  $builder-&gt;compose(
    $builder-&gt;produce('property_path')
      -&gt;map('type', $builder-&gt;fromValue('entity:product'))
      -&gt;map('value', $builder-&gt;fromParent())
      -&gt;map('path', $builder-&gt;fromValue('field_image.entity')),         
    $builder-&gt;produce('image_url')
      -&gt;map('entity', $builder-&gt;fromParent())
      -&gt;map('field', $builder-&gt;fromValue('field_image'))
  )
);