Skip to content

Support reverse iteration on pagination #8754

Closed
@fedekunze

Description

Summary

Add support for the ReverseIterator on Paginate and FilteredPaginate queries.

Problem Definition

Some iteration use cases (eg when iterating by block height from latest to earliest) require the reverse iteration in desc order.

Proposal

Add a boolean argument to both functions to support reverse iteration


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

C: gRPCIssues and PRs related to the gRPC service and HTTP gateway.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions