Skip to content
Snippets Groups Projects

Make startCursor and endCursor nullable

Merged srfsh requested to merge srfsh/cur into sprout

This is a valid case when you have 0 results (that can mean there's a next/prev page, even though you asked for 0 records).

For the more info on the subject:

https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo.Fields

Which mentions:

The fields startCursor and endCursor can be null if there are
no results.

Merge request reports

Merged by pospipospi 2 years ago (Nov 21, 2022 12:22am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading