Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

PageIterator: matain the state of previous calls

Đang mở
#981 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
api

Hướng nghiên cứu

Start by locating the PageIterator entry point and reviewing how it currently handles results across calls. Determine how an exposed array of all returned objects should behave for infinite-scroll consumers, then verify that repeated iteration preserves prior results and that the public API is documented and tested.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

request: feature

Feature Request

Maintain the state of all previous calls in the PageIterator.

Is your feature request related to a problem? Please describe

We are using the PageIterator to create an "Infinite Scroll" capability on our SPA application. Unfortunately, when iterating, we have to maintain the state of previous calls in a separate array.

Describe the solution you'd like

Expose an array of objects with all the results returned by the PageIterator.

Describe alternatives you've considered

We created a wrapper around the PageIterator to save the previous state of all results in an array.

Ngôn ngữ chính
TypeScript
Star
833
Fork
240
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoftgraph/msgraph-sdk-javascript

Tất cả issue của microsoftgraph/msgraph-sdk-javascript

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.