Developer-DAO / Developer-DAO/Lens-Graph-Subgraph
Null Profile Stats
- 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
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:

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