Skip to content

Add paginated query support for fetching all events in a time range #423

@nogringo

Description

@nogringo

Query with since/until should return all events in range.

User Story

As a Nostr app developer
I want to receive all events when I query with since and until
So that I don't have to implement pagination myself in every app

Acceptance Criteria

  • When querying with since and until, all matching events in that range
    are returned
  • NDK handles pagination internally (fetching backwards until reaching
    since)
  • No change to existing API, just the behavior

Alternatives Considered

  • add a paginate parameter

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions