I'm trying to download all the images from datoCMS when building so that I have one less dependency on run-time and so that all my assets point to a local file instead of a remote one with a different domain.
I have an article model with Media type on datoCMS, and I can see many of its properties in graphql, such as URL, size, etc.
However, when logging the node object using the createResolvers API, I only see the following:
... "image":{"alt":null,"title":null,"custom_data":{},"focal_point":null,"upload_id":"20946318"} ...
The ID is correct, but where is the other information?
Hi,
I'm trying to download all the images from datoCMS when building so that I have one less dependency on run-time and so that all my assets point to a local file instead of a remote one with a different domain. I have an article model with Media type on datoCMS, and I can see many of its properties in graphql, such as URL, size, etc.
However, when logging the node object using the createResolvers API, I only see the following:
... "image":{"alt":null,"title":null,"custom_data":{},"focal_point":null,"upload_id":"20946318"} ...
The ID is correct, but where is the other information?Code:
Am I doing something wrong? Cheers.