Cursors aren't working

did:plc:4jrld6fwpnwqehtce56qshzv opened this Jan 19, 2026 0 comments
did:plc:4jrld6fwpnwqehtce56qshzv opened Jan 19, 2026

Another request that seems to be busted. I'm trying to implement pagination. The query is fine if I set the cursor to null. If I send the cursor in, the response always responds with an empty edges array.

I've verified that I'm using the correct cursor, and that there are additional records. The request with a null cursor responds with the appropriate edges, hasNextPage: true, and it returns a cursor, so there's definitely more to retrieve.

This is the query I'm using:

query ListGames ($cursor: String) {
  gamesGamesgamesgamesgamesGame (
    first: 1
    after: $cursor
  ) {
    edges {
      node {
        name
      }
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}

No activity yet.

cospan · schematic version control on atproto built on AT Protocol