wp-graphql / wp-graphql/wpgraphql-acf
Clone fields not registering in schema
Open
Nobody has claimed this yet.
needs: reproduction
- Dominant language
- PHP
- Stars
- 110
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
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
- Import the field group: group_66ac73a03007c.json
- Create a page and fill with dummy data:
- Execute query:
query Test {
pages {
nodes {
title
pageFields {
title
topLevelCloneGroup {
title
}
group {
title
nestedCloneGroup {
title
}
}
}
}
}
}
- Fields don't exist:
PHP or JSON export of the ACF Field Group(s)
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.
- Yes
Please confirm that you have disabled ALL plugins except for WPGraphQL, WPGraphQL For ACF, ACF, etc.
- Yes
- My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by importing group_66ac73a03007c.json and reproducing the issue with the GraphQL query in the report. Trace schema registration for top-level and nested clone fields, then verify that all four clone fields appear in the schema and are returned by the query.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, php, wordpress
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100