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

Null Profile Stats

Abierto
#31 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
54
Forks
14
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.