Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: "show in graphql" setting on fields not respecting being turned "off" #155

Merged
merged 5 commits into from Jan 19, 2024

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
25 checks passed
@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
1 participant