Commit b760473
Pagination breadth: page-number, Link-header strategies, and a page cap (#8)
* docs: design spec for pagination breadth subsystem
Page-number and Link-header strategy constructors plus an RFC 8288 NextLink
parser and a WithMaxPages cap, built on the existing token-based Pager.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* docs: implementation plan for pagination breadth subsystem
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* feat(pagination): add WithMaxPages cap
* feat(pagination): add page-number and Link-header strategies
* test(pagination): cover page-number cap and parser recovery; use slices.Equal
* docs: document pagination strategies and WithMaxPages
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent a303b4c commit b760473
8 files changed
Lines changed: 1012 additions & 10 deletions
File tree
- docs/superpowers
- plans
- specs
- pagination
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments