Closed EstebanBorai closed 11 months ago
Capability to follow a user. This will allow users to have a personalized experience.
user_follow
Introduce a user_follow table which follows the Many to Many relationship to track user follows.
Columns would be
IDX_ follower_followee
follower
followee
created_at
By using the index we avoid duplicated followers
follow(id: Pxid): Follow
Follows the user with the provided ID and returns a Follow object which contains the operation summary.
Follow
unfollow(id: Pxid): Unfollow
Unfollows the user with the provided ID and returns a Unfollow object which contains the operation summary.
Unfollow
Capability to follow a user. This will allow users to have a personalized experience.
Tasks
Introduce the
user_follow
tableIntroduce a
user_follow
table which follows the Many to Many relationship to track user follows.Columns would be
IDX_ follower_followee
follower
followee
follower
created_at
follower
started followingIntroduce GraphQL Operations
follow(id: Pxid): Follow
Follows the user with the provided ID and returns a
Follow
object which contains the operation summary.unfollow(id: Pxid): Unfollow
Unfollows the user with the provided ID and returns a
Unfollow
object which contains the operation summary.