Hi @filippo.bovo. I think that your GraphQuery will look something like this:
{
your_custom_type {
...your_custom_typeFields
promo_blocks_group {
promo_blocks {
...on promo_block {
...promo_blockFields
}
}
}
}
}
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