Skip to content

Null Profile Stats #31

@RickyEsclapon

Description

@RickyEsclapon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions