flusmic icon indicating copy to clipboard operation
flusmic copied to clipboard

When retrieving my custom Document not seeing objects at linkedDocuments property

Open serjmiskiv opened this issue 4 years ago • 1 comments

On our Prismic page, we have two types of Documents: Guides and Articles.

Articles are linked to Guides, but when i'm fetching Guides linkedDocuments property is empty. Is there a way to see those linked documents?

serjmiskiv avatar Sep 28 '21 17:09 serjmiskiv

Hi @serjmiskiv!

This is something that needs to be improved. Right now, the only way to fetch fields from a linked document is with fetchLinks query parameter.

Is your raw query response from prismic including the linkedDocuments field? 🤔

pblinux avatar Oct 01 '21 04:10 pblinux