Closed sarahannnicholson closed 3 years ago
This only appears to be an issue when migrating from an older version to this one. Re-creating the custom field causes it to work as intended. Closing as it's super edge case-y. In case someone finds this, just re-make your custom field and add it back to you post types.
Making a custom Field of type true/false doesn't end up representing a boolean in the REST API.
Repo steps:
This doesn't follow the rules of a boolean, default / unchecked value should be false. For me this is causing my GraphQL that uses the REST API to not be happy as GraphQL needs a schema, and getting null for a boolean field is causing it to fail.
acf plugin version:
5.9.3
acf pro plugin version:5.9.3
acf to rest plugin version:3.3.2
wp version:5.6