Greetings, I'm trying to get the pagination to work but ran into a few issues.
- If I try to use table.nextAfterCursor, it returns an error:
Dependency Cycle Found: getCampBuddies.data -> getCampBuddies.graphQLVariables -> campBuddiesList.nextAfterCursor -> getCampBuddies.data
Our query and result data looks like this:
query getCampBuddies ($after: String, $first: Int!, $input: GetCampBuddiesInput!) {
getCampBuddies (after: $after, first: $first, input: $input) {
edges {
cursor
node {
id
createdAt
lastAttendedAt
...
}
}
pageInfo {
hasNextPage
hasPreviousPage
}
}
}
Here's how things look like in UI:
Our query response follows the Relay cursor spec, and I've configured the cursor just like the example in Retool docs here.
Or am I missing something here?
- table.afterCursor is not populated despite setting it after selecting cursor based pagination.
This is more of a bug report, rather than what I need.