-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
status: actionableReady for work to beginReady for work to begintype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior
Description
Description
The "Page Link" type currently maps to the Schema as an AcfContentNodeConnection
type, but the Field is documented as returning a string to a link and recommends using the "Post Object" field type if more rich data is needed.
Steps to reproduce
- create an ACF Field Group with a field of the "Page Link" field type
- see the field is exposed in the schema as a "AcfContentNodeConnection" type in the schema
- try to query the field and always get null results
The expected behavior for the field type is a link, not a page "node" object.
The field should be corrected to return a string instead of a connection to a Content Node.
PHP or JSON export of the ACF Field Group(s)
No response
Additional context
related: #208
- see: Fields inside repeater return null and/or empty arrays: Link, File and Post Object #208 (comment)
- see: Fields inside repeater return null and/or empty arrays: Link, File and Post Object #208 (comment)
WPGraphQL Version
1.27.0
WPGraphQL For ACF Version
2.3.0
ACF (Advanced Custom Fields) Version. Free or Pro?
6.3.1.2 (PRO)
WordPress Version
6.5.4
PHP Version
8.2
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.
Metadata
Metadata
Assignees
Labels
status: actionableReady for work to beginReady for work to begintype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior