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

Better GraphQL typings #67

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

erikhartin
Copy link
Contributor

Hello Brandon,

I contributed a patch a few months ago to allow editor_palette fields to be queried with GraphQL (I am possible the only person on the planet who cares if that works).

The previous patch returned the slug for the colour, which i realised is a bit lazy since GraphQL should let you decide the return format. So I updated the function to allow the user to choose which return format they would like.

Have tested this and it relies on register_graphql_acf_field_type which has been around forever so this should be a very straightforward merge, if you would care to accept.

thanks again for all your amazing plugins, use your stuff all the time! cheers

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.

1 participant