SCHEMA - Missing definitions for the following scalars: Cursor

Created on 31 July 2022, over 2 years ago
Updated 11 April 2023, over 1 year ago

When using PageInfo we get Schema error for Cursor

pageInfo {
      endCursor
      hasNextPage
      hasPreviousPage
      startCursor
    }

Generated types will contain an any type in place of these values. To fix this, provide an equivalent
type in your config file:

{
  scalars: {
    /* in your case, something like */
    Cursor: {                  // <- The GraphQL Scalar
      type: "YourType_Cursor"  // <-  The TypeScript type
    }
  }
}
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany Rar9

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024