Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null Profile Stats #31

Open
RickyEsclapon opened this issue Nov 12, 2022 · 2 comments
Open

Null Profile Stats #31

RickyEsclapon opened this issue Nov 12, 2022 · 2 comments

Comments

@RickyEsclapon
Copy link

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
@andyrobert3
Copy link
Contributor

that's something in the road map, we haven't built around the stats field yet for the event handlers
@Nazeeh21

but we will be getting there, thanks for the issue here @RickyEsclapon

@RickyEsclapon
Copy link
Author

Sounds great, really looking forward to it and great work on the subgraph! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants