Skip to content

Conversation

@jasonbahl
Copy link
Contributor

@jasonbahl jasonbahl commented Jan 18, 2024

What does this implement/fix? Explain your changes.

This fixes a bug where configuring a field in the ACF UI to "show_in_graphql => false" was not properly being respected.

This is because ACF stores the value as 0 and we were checking for false === $field['show_in_graphql']

Does this close any currently open issues?

closes #153

@jasonbahl jasonbahl self-assigned this Jan 18, 2024
@jasonbahl jasonbahl merged commit 65a8384 into develop Jan 19, 2024
@jasonbahl jasonbahl mentioned this pull request Jan 23, 2024
@jasonbahl jasonbahl deleted the fix/153-show_in_graphql branch January 24, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

show_in_graphql option not working properly

2 participants