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

Null Profile Stats

Đang mở
#31 2 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
graphql, typescript
Lĩnh vực
backend-api-design

Hướng nghiên cứu

Chạy truy vấn profiles được cung cấp trong playground của dịch vụ được lưu trữ được liên kết và xác nhận rằng các trường stats trả về null. Theo dõi cách các số liệu thống kê của profile được điền và expose totalFollowers, totalPosts và totalFollowing; hoàn tất khi các trường này trả về các giá trị đếm tương ứng ở cấp người dùng cho các profile.

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

Mô tả

Contact Details

No response

What is the expected behavior?

You are probably already aware of this, but I couldn't find an existing issue to track.

When querying the stats entity within profiles, it would be awesome to be able to get user level stats like number of followers, following, posts, comments, etc...

What is the current behavior?

Right now the stats entity within profiles returns all null values:

image
Reproduction steps
1. Navigate to playground: https://thegraph.com/hosted-service/subgraph/nazeeh21/lens-protocol-matic

2. Run query:

{
  profiles(first: 10) {
    id
    handle
    stats{
      totalFollowers
      totalPosts
      totalFollowing
    }
  }
}


### Version

_No response_

### Relevant log output

_No response_

### Your Environment

Subgraph: https://thegraph.com/hosted-service/subgraph/nazeeh21/lens-protocol-matic

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct
Ngôn ngữ chính
TypeScript
Star
54
Fork
14
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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 Developer-DAO/Lens-Graph-Subgraph

Tất cả issue của Developer-DAO/Lens-Graph-Subgraph

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.