graphql
graphql copied to clipboard
Support real cursor based paging
Currently the cursor based paging is converted to offset based paging at graphql-server-side.
A Cursor:
- looks like
YXJyYXljb25uZWN0aW9uOjE=
- which decodes to
arrayconnection:1
- which results in
offset
2 to be used for the query
This is not cursor-based paging because it does not take into account intermediate changes in data between two requests.
At least it should be stated in the documentation that no real cursors are used.
See also:
https://github.com/neo4j/neo4j/issues/12695#issuecomment-1182497250