Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalise Entities (Many to Many relations) #28

Open
1 task done
andyrobert3 opened this issue Oct 20, 2022 · 2 comments
Open
1 task done

Normalise Entities (Many to Many relations) #28

andyrobert3 opened this issue Oct 20, 2022 · 2 comments

Comments

@andyrobert3
Copy link
Contributor

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

  • I agree to follow this project's Code of Conduct
@ameeetgaikwad
Copy link

I would like to help, assign me this

@andyrobert3
Copy link
Contributor Author

feel free to take it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants