Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Null Profile Stats

オープン
#31 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
graphql, typescript

調査の方向性

リンクされたホステッドサービスの playground で提供された profiles クエリを実行し、stats フィールドが null を返すことを確認します。プロフィールの統計情報がどのように設定されているかを追跡し、totalFollowers、totalPosts、totalFollowing を公開します。これらのフィールドがプロフィールについて対応するユーザーレベルのカウントを返せば完了です。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
TypeScript
スター
54
フォーク
14
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Developer-DAO/Lens-Graph-Subgraph のほかの issue

Developer-DAO/Lens-Graph-Subgraph の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。