Skip to content

Iterating over cloudflare.hyperdrive.configs.list only returns the first page #2722

@SamyPesse

Description

@SamyPesse

Confirm this is a Typescript library issue and not an underlying Cloudflare API issue

  • This is an issue with the Typescript library

Describe the bug

The following code only iterates over the first page (returning max 20 elements):

for await (const config of cloudflare.hyperdrive.configs.list({
    account_id: accountId,
})) {
    //
}

To Reproduce

Run the code on an account with more than 20 hyperdrive configs.

Code snippets

OS

Linux / Mac

Runtime version

Not relevant

Library version

6.0.0-beta.1 but also 5.x.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions