Skip to content

graphql cursor pagination; cursor changing on new entries #24818

Discussion options

You must be logged in to vote

I think I’ve figured this out myself; if I add an orderBy to my request, I can sort them ascending by date and it solves this issue:

auditLog(first: 10, orderBy: {field: CREATED_AT, direction: ASC}) {

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants