sortKey error in edge

Created on 26 April 2023, over 1 year ago

Problem/Motivation

The following error message appears on Edges quires when there is "after: "CURSOR"" and there is no "sortKey"

"debugMessage": "Drupal\\graphql_compose_edges\\Wrappers\\Cursor::isValidFor(): Argument #1 ($sort_key) must be of type string, null given, called in /app/web/modules/contrib/graphql_compose/modules/graphql_compose_edges/src/EntityTypePluginQueryHelper.php on line 69",

Proposed resolution

It looks like something is wrong with Cursor.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇦🇲Armenia hhvardan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024