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

ACF Number Fields with "0" value return null #237

@tomwhita

Description

@tomwhita

System Info:

  • ACF Pro v5.9.3
  • WPGraphQL v1.2.5
  • WP Gatsby v0.9.2
  • WPGraphQL for Advanced Custom Fields v0.4.0

To reproduce:

  • Using ACF Pro create a field group for posts and add a number field to the group
  • Set the field value on a post to 0
  • Using Graphiql, query for the post and custom field. The value should return as null

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions