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

Normalise Entities (Many to Many relations)

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
typescript

調査の方向性

まず、Profile エンティティと、followers、following、現在の boolean flags を公開しているクエリ定義を見つけます。user-follow 関係がどのように表現されているかを確認し、その後、maintainers と関係モデルおよびステートレスなクエリ動作を明確にします。ユーザー固有の flags を使わずに、意図したエンティティの形状と関係の更新が実装され、関連するクエリが検証されれば完了です。

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

説明

Contact Details

alexandermatthew12@gmail.com

What is the expected behavior?

Stateless query

We should normalise, such as Profile having followers & following which is an array of IDs

In addition, if a user follows my Profile
We should append a new Profile into the followers field, and append Profile to following field, for the follower Profile

What is the current behavior?

We should not have boolean flags such as hasCollectedByMe, isFollowingMe, etc

We want to make the query stateless, meaning that there is no "me" object when querying here

Reproduction steps

No response

Version

No response

Relevant log output

No response

Your Environment
  • Version used:
  • Environment name and version (e.g. Chrome 39, node.js 5.4):
  • Operating System and version (desktop or mobile):
  • Link to your project:
Code of Conduct
  • 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 を短くまとめたダイジェスト。