You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doing a query to retrieve paginated comments in a single post, passing after parameter raise this error
"debugMessage": "Expected "value" value to be provided for WPGraphQL\Data\Cursor\CommentObjectCursor cursor compare field. A scalar value must be given.",
the problem is that you are checking for "by" variable but are using "value" here
Description
Doing a query to retrieve paginated comments in a single post, passing after parameter raise this error
"debugMessage": "Expected "value" value to be provided for WPGraphQL\Data\Cursor\CommentObjectCursor cursor compare field. A scalar value must be given.",
the problem is that you are checking for "by" variable but are using "value" here
wp-graphql/src/Data/Cursor/AbstractCursor.php
Line 185 in d5ccf03
Steps to reproduce
Try to paginate comments using after parameter.
Additional context
No response
WPGraphQL Version
1.22.0
WordPress Version
6.4.1
PHP Version
8.1
Additional environment 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.
The text was updated successfully, but these errors were encountered: