Issue fetching all text using fetchLinks

I am trying to fetch a rich text field in a content relationship. However I am only getting back the first item in the array. I would like to get the whole array of text back.

What can i add to my query in order to get back all of the "review" field back?

await Client().getByUID("post", slug, {
 fetchLinks: [

I found a work around, not using fetchLinks, but using graph query.

 graphQuery: `
          post {
            products {
              product {

This cant be the proper solution though. does fetch Links have issues with groups?

Hello @nick.dueber

Welcome to the Prismic community, and thanks for reaching out to us.

This is true that fetchLinks can not retrieve the following fields:

  • Embed
  • GeoPoint
  • Link
  • Link to Media
  • Rich Text (anything other than the first element)
  • Any field in a Group or Slice

That's why Prismic implemented graphQuery (an advanced version of fetchLinks or fetchLinks V2) that enables you to make advanced queries. You can do selective fetching (to retrieve only specific fields) and deep fetching (to retrieve content from linked documents). That's the solution to retrieve linked documents.

Let me know if you have any further questions.