Lens-Graph-Subgraph icon indicating copy to clipboard operation
Lens-Graph-Subgraph copied to clipboard

Normalise Entities (Many to Many relations)

Open andyrobert3 opened this issue 3 years ago • 2 comments

Contact Details

[email protected]

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

andyrobert3 avatar Oct 20 '22 15:10 andyrobert3

I would like to help, assign me this

ameeetgaikwad avatar May 03 '23 06:05 ameeetgaikwad

feel free to take it!

andyrobert3 avatar May 04 '23 08:05 andyrobert3