wp-graphql / wp-graphql-acf

WPGraphQL for Advanced Custom Fields
https://wpgraphql.com/acf
626 stars 123 forks source link

Add Gravityforms Add-on support #140

Closed Twansparant closed 11 months ago

Twansparant commented 4 years ago

I would love to see the Advanced Custom Fields: Gravityforms Add-on supported by WPGraphQL ACF. Would this be possible? And how could I add support for it myself?

Thanks a lot!

Twansparant commented 4 years ago

I made a PR for this.

Ebeldev commented 2 years ago

Unfortunaly this issue and the pull request is still not fully working.

Any news on that?

jasonbahl commented 11 months ago

👋🏻 We're working on a new version of WPGraphQL for ACF over here: https://github.com/wp-graphql/wpgraphql-acf.

The new version has an API for adding support for third party ACF Field Types.

In fact, the plugin comes with support for ACF Extended Field Types and you can use them as a model for adding support for additional ACF Field Types.

For example:

Here's also a GIST showing how @CesarBenavides777 mapped the ACF Table field type to the GraphQL Schema: https://gist.github.com/CesarBenavides777/79b158db8355ddbc349fbf9b3272ae47

While we won't be supporting all ACF Field Type extensions out of the box, we will be supporting the APIs for developers to add their own custom ACF Field Types more easily.

We'd recommend checking out the new version of WPGraphQL for ACF as it's what we'll be supporting going forward. It will have a stable release on WordPress.org in the near future and this repo will be archived.