sui icon indicating copy to clipboard operation
sui copied to clipboard

[GraphQL/Cursor] Abstraction for index-based cursors

Open amnn opened this issue 2 years ago • 2 comments

Description

Adds a helper function to Page<usize> to treat usize cursors as indices into an array of some kind, and convert the page into an iterator over elements in that page, identified by their Cursor.

Test Plan

sui-graphql-e2e-test$ cargo nextest run \
  -j 1 --features pg_integration

Stack

  • #15467
  • #15470
  • #15471
  • #15472
  • #15473
  • #15474
  • #15475
  • #15484

amnn avatar Dec 24 '23 00:12 amnn

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mysten-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 3, 2024 11:33pm
sui-core ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 3, 2024 11:33pm
sui-typescript-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 3, 2024 11:33pm
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Visit Preview Jan 3, 2024 11:33pm
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Jan 3, 2024 11:33pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Jan 3, 2024 11:33pm

vercel[bot] avatar Dec 24 '23 00:12 vercel[bot]

Deployment failed with the following error:

Too many requests - try again in 42 seconds (more than 60, code: "api-deployments-flood").

vercel[bot] avatar Dec 24 '23 02:12 vercel[bot]