wpgraphql-acf icon indicating copy to clipboard operation
wpgraphql-acf copied to clipboard

Clone fields not registering in schema

Open whatworksglobal opened this issue 1 year ago • 0 comments

Description

The following clone fields are registered in the schema:

  • Top Level Seamless ❌
  • Top Level Group ❌
  • Nested Seamless ✅
  • Nested Group ❌

All of the above clone fields should get registered in the schema, not just Nested Seamless.

Steps to reproduce

  1. Import the field group: group_66ac73a03007c.json
  2. Create a page and fill with dummy data: image
  3. Execute query:
query Test {
  pages {
    nodes {
      title
      pageFields {
        title
        topLevelCloneGroup {
          title
        }
        group {
          title
          nestedCloneGroup {
            title
          }
        }
      }
    }
  }
}
  1. Fields don't exist:

image

PHP or JSON export of the ACF Field Group(s)

group_66ac73a03007c.json

Additional context

No response

WPGraphQL Version

1.27.2

WPGraphQL For ACF Version

2.4.1

ACF (Advanced Custom Fields) Version. Free or Pro?

6.3.5 Pro

WordPress Version

6.6.1

PHP Version

8.1.23

Additional enviornment details

No response

Please confirm that you have searched existing issues in the repo.

  • [X] Yes

Please confirm that you have disabled ALL plugins except for WPGraphQL, WPGraphQL For ACF, ACF, etc.

  • [X] Yes
  • [ ] My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.

whatworksglobal avatar Aug 02 '24 06:08 whatworksglobal