Querying fields on a nested content relationship

Howdy, creating some header navigation.

But, I can't seem to link the actual underlying data on any of the content relationship children.

Basically:
Custom Navigation Type
Group Field

  • Content Relationship Field
    -- of custom type Page

Page Type
Group Field

  • Content Relationship Field
    -- of custom type Page

I need to get a list of the UIDs of each of the navigation item's group field, but I haven't been able to pull this out of a graphQuery due to there not being a retrievable schema that I can find in the documentation.

Navigation Type:

Page Type:


I need the link data to include a nested field on that document.
But no idea how to do that.

fetchLinks doesn't seem to work like I'd expect:

        return client.getByUID(customType, uid, {
            fetchLinks: `items.link.children.child.uid`
        });

Using raw GraphQL, I can get the UID like I need:

query {
  allNavigations(uid: "header") {
    edges{
      node {
        logo
        _meta {
          uid
          id
          type
        }
        _linkType
        items {
          label
          link {
            _linkType
            ... on Page {
              meta_title
              children {
                child {
                  ... on Page {
                    _meta {
                      uid
                    }
                  }
                }
              }
            }
            ... on _ExternalLink{
              url
              target
            }
          }
        }
      }
    }
  }
}

Hey @Acen, to access the linked document, you need to add the name of the linked document type.[and then the field on the linked doc

fetchLinks=items.uid

Here are the docs: