Description
src/horizonPaginator.ts uses a fixed page size for all Horizon queries. When the configured page size exceeds the server's maximum, Horizon silently returns fewer records, causing the paginator to stop early. The paginator should detect and adapt to the server's actual page size from the first response.
Acceptance Criteria
Context
- Target file:
src/horizonPaginator.ts
effectivePageSize should be exposed as a read-only property for debugging
Description
src/horizonPaginator.tsuses a fixed page size for all Horizon queries. When the configured page size exceeds the server's maximum, Horizon silently returns fewer records, causing the paginator to stop early. The paginator should detect and adapt to the server's actual page size from the first response.Acceptance Criteria
effectivePageSizeis updated to the actual counteffectivePageSizeto determine when a page is the last oneContext
src/horizonPaginator.tseffectivePageSizeshould be exposed as a read-only property for debugging