[bug] Host SortBy LastSeenAt returns 0 results

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

Maintainer thường phản hồi trong vòng 1 ngày

@KCarretto đang làm issue này rồi.

Từ ngày 26/4/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

api-change bug

Describe the bug
In reference to changes to add pagination to Host data.

When you fetch next page of data for host. if orderBy is provided LAST_SEEN_AT for the sort type and data does not have lastSeenAt (It is an optional field). Then edges return an empty array. The first call to page 1 will provide host data, using the startCursor or beforeCursor the edges returned will be empty.

This is reproduced on local with test data. Local test data has lastSeenAt = null.

While this is a part of an open PR, we won't be blocking the changes and we will need to fix this to add sorting support.

Image Image Image Image
Ngôn ngữ chính
Rust
Star
639
Fork
65
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
62

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 spellshift/realm

Tất cả issue của spellshift/realm

Issue tương tự

Thêm issue về Rust

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.