-
- Downloads
Add an item cursor to the connection edge
This will add the possibility to get items in a connection from any arbitrary position. Generic implementation is using item index along with the offset (after argument) to generate a cursor Fixes T4291
Showing
- swh/graphql/resolvers/base_connection.py 24 additions, 4 deletionsswh/graphql/resolvers/base_connection.py
- swh/graphql/resolvers/snapshot_branch.py 4 additions, 0 deletionsswh/graphql/resolvers/snapshot_branch.py
- swh/graphql/tests/functional/test_pagination.py 102 additions, 0 deletionsswh/graphql/tests/functional/test_pagination.py
Loading
-
Some references in the commit message have been migrated:
- T4291 is now #4291 (closed)
Please register or sign in to comment