I'm trying to get all the fields of a content relationship "promo_blocks" nested inside a group "promo_blocks_group". My understanding is that I need to use GraphQuery, but I'm not sure about the structure.
Any help with this?
Give that a try and let me know if it works for you. Keep in mind that you’ll need to update your_custom_type and your_custom_typeFields with the API ID of the Custom Type that you are querying.
Also as a general note for anyone reading this, GraphQuery is different than GraphQL. GraphQuery is an updated version of fetchLinks which allows you to retrieve content from a Content Relationship field when using the REST API. Here is the documentation for GraphQuery: https://prismic.io/docs/rest-api/query-the-api/graphquery