I’m working on a plugin to add support for WPGraphQL with ACF. When I go to the ACF field group and select a specific field, in the GraphQL tab, I see the following message:
Not supported in the GraphQL Schema
The "my-plugin" Field Type is not set up to map to the GraphQL Schema. If you want to query this field type in the Schema, visit our guide for?adding GraphQL support for additional ACF field types.
Here’s the link to the screenshot.
When I click on the adding GraphQL support for additional ACF field types it redirects me to the current page that I’m on. It seems that the guide has not been linked correct. I tried to Google but nothing much came up.
Request if you can please share the link to the guide here.
Thanks
]]>Hello Team
I am writing to seek your assistance with an issue I am encountering with your plugin, which I am using to create posts via an API on the front-end of my WordPress site. While the default fields are working perfectly, I am having trouble with the Advanced Custom Fields (ACF) not appearing in the input list.
Steps to reproduce:
0
?as that field’s valuenull
.Expected behavior
If the value of field in the database is?0
, then the value returning by the GraphQL API should also be?0
.
WordPress 6.5.4
WPGraphQL 1.27.0
WPGraphQL for ACF 2.2.0
ACF 6.3.1.2
I’m facing this weird issue with wpgraphql queries. When the page isn’t published, I am able to see the acf draft mode fields in the previews. But when the page is published, the draft mode doesn’t show up when I’m trying to preview the page. I’m using Faust + WP Headless setup Did anyone else faced this issue? here’s my query:
query GetPageData( $id: ID! $idType: PageIdType $asPreview: Boolean = false ) {
page(id: $id, idType: $idType, asPreview: $asPreview) {
title
content
testingAcf {
content
}
}
}
Hi,
I have installed this plugin to build my headless CMS using the next.js and when I install this plugin and go to the ACF > Fields Group > Home then the page keeps loading and after 2 minutes it shows the below errors in the console. Also, the GraphQL page doesn’t work when this plugin is installed.
Uncaught TypeError: Cannot read properties of undefined (reading ‘outerHTML’)
at t.fn.outerHTML (acf.min.js?ver=6.2.6.1:1:28132)
at n.addTab (acf-input.min.js?ver=6.2.6.1:1:46974)
at n.initialize (acf-input.min.js?ver=6.2.6.1:1:44459)
at n.e (acf.min.js?ver=6.2.6.1:1:3259)
at acf.Model (acf.min.js?ver=6.2.6.1:1:3393)
at n as constructor
at new n (acf.min.js?ver=6.2.6.1:1:6560)
at acf.newField (acf-input.min.js?ver=6.2.6.1:1:58891)
at acf.getField (acf-input.min.js?ver=6.2.6.1:1:60352)
at HTMLDivElement. (acf-input.min.js?ver=6.2.6.1:1:60482)
My setup
WP 6.4.1
ACF Pro 6.2.6.1
WPGraphQL 1.21.0
WPGraphQL for ACF 2.1.2
Thanks