Developer-DAO / Developer-DAO/Lens-Graph-Subgraph

Null Profile Stats

Aperta
#31 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
54
Fork
14
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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

```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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.