I am having an issue with slices (in a custom doc) in my graphQL queries where I get this warning WARNING: heuristic fragment matching going on!
. I am following the Prismic example here (Query Data with GraphQL - Prismic) and my query looks like this:
query {
about_page(lang: "en-us", uid: "about") {
about_ssb_content
about_ssb_heading
about_ssb_image
body {
... on About_pageBodyFooter_cta {
footer_cta: fields {
image
heading
button_text
button_link
}
}
... on About_pageBodyFullwidth_info_block {
fullwidth_info_block: fields {
image
heading
cta_text
cta_link
cta_type
description
}
}
}
footer_heading
footer_image
footer_link
footer_link_text
hero_content_left
hero_content_right
hero_heading
hero_image
safety_accordion {
content_left
content_right
label
}
safety_content
safety_heading
timeline_item {
content
image
year
}
}
}
When I include the slices About_pageBodyFooter_cta
and/or About_pageBodyFullwidth_info_block
I get the warning and the query doesn't work.
I found this and tried it: Heuristic Fragment matcher warning! How to fix it? | by Chandan Reddy | Commutatus
but I donāt think I will be able to āPOSTā so I might be at a dead end with this.
Any ideas??