Developer-DAO / Developer-DAO/Lens-Graph-Subgraph

Normalise Entities (Many to Many relations)

オープン
#28 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
54
フォーク
14
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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

- [X] I agree to follow this project's Code of Conduct

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

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

評価

この issue はまだ評価されていません。

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

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