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

State #5

Open
simcha-c opened this issue Nov 9, 2018 · 0 comments
Open

State #5

simcha-c opened this issue Nov 9, 2018 · 0 comments

Comments

@simcha-c
Copy link

simcha-c commented Nov 9, 2018

  • in your users state, the followers should be followerId (like in the second user example).
  • so since you have the ability to reply to a comment (so we have parent_comment_id in the comment table), the commentIds array in the posts slice needs to be the top-level comments. In the comments slice, we would need a childrenCommentIds array that hold the children comments of that comment.

Everything else looks awesome!
Really good job!!!

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

1 participant