This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Description
When creating ACF Field Groups and setting the filter for instance as:
Show this field group if:
Page is equal to SELECTED_PAGE
The ACF field isn't queryable through the pageBy
with uri
. This is the example of the query I ran to find this issue:
{
pageBy(uri: "live-act") {
id
artistCategory {
category_video
}
}
}
Which returns the error:
{
"errors": [
{
"message": "Cannot query field \"artistCategory\" on type \"Page\".",
"category": "graphql",
"locations": [
{
"line": 4,
"column": 5
}
]
}
]
}
If one remove the filter and set it to display on all pages it is perfectly queryable in the GraphQL schema.