We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35da234 commit 220fca6Copy full SHA for 220fca6
src/FieldConfig.php
@@ -186,7 +186,7 @@ public function get_graphql_field_config():?array {
186
187
// if the field is explicitly set to not show in graphql, leave it out of the schema
188
189
- if ( isset( $this->acf_field['show_in_graphql'] ) && false === $this->acf_field['show_in_graphql'] ) {
+ if ( isset( $this->acf_field['show_in_graphql'] ) && false === (bool) $this->acf_field['show_in_graphql'] ) {
190
return null;
191
}
192
0 commit comments