Page Link field type should return a string, NOT a connection #213
Labels
status: actionable
Ready for work to begin
type: bug
Issue that causes incorrect or unexpected behavior
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
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
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.
Please confirm that you have disabled ALL plugins except for WPGraphQL, WPGraphQL For ACF, ACF, etc.
The text was updated successfully, but these errors were encountered: