Normalise Entities (Many to Many relations)
まだ誰も着手していません。
評価
- 難易度
- 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 はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Developer-DAO/Lens-Graph-Subgraph のほかの issue
-
Null Profile Stats オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Developer-DAO/Lens-Graph-Subgraph#31 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
-
Developer-DAO/Lens-Graph-Subgraph#19 · コメント 3 件 · 担当者 1 名 ·
-
FollowNFTTransferred オープン
Developer-DAO/Lens-Graph-Subgraph#18 · コメント 8 件 · 担当者 1 名 ·
-
Add event handlers オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Developer-DAO/Lens-Graph-Subgraph#9 · コメント 4 件 ·
Developer-DAO/Lens-Graph-Subgraph の issue をすべて見る
似ている issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Crush オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ElementsProject/cln-application#167 · コメント 1 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Quantco/pnpm-licenses#17 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100