Skip to content

Limiting results #20

Open
Open
@sckott

Description

@sckott

Noticed something while making fix in #18 - that we probably need to give user power to determine how much data they get back.

Our while loop will just keep going, getting more data if a resumptionToken is available.

We may not be able to expose a parameter that does this exactly, like limit = 10, and you get 10 results, but at least it could be something like

  • limit = "all" (all results)
  • limit = "one" (do one HTTP request, then stop, so even if get a resumptionToken, stop anyway)
  • other options?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions