DiamondLightSource / DiamondLightSource/glazed
Handle pagination
- Dominant language
- Rust
- Stars
- 0
- Forks
- 2
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 2
Description
Current default requests are limited to the first 100 results. When users inevitably collect more than 100 runs, this might end up being a bit limiting.
GraphQL pagination guidelines [here](https://graphql.org/learn/pagination/) suggest wrapping types in new types with page info included.
DLS dev guide details on pagination for REST apis are [here](https://dev-guide.diamond.ac.uk/policies/services/#rest-api-default-implementation-choices) but we should try and be close to them if possible even for a graphql service. It also suggests following the guidelines [here](https://relay.dev/graphql/connections.htm)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.