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

[BE] Feature/425 self following #428

Closed
wants to merge 2 commits into from

Conversation

atakanyasar
Copy link
Contributor

📋 Proposed Changes

  • See if users follows themself in User responses

Related Issue

Closes #425

🧪 Included Tests

image

@atakanyasar atakanyasar added the component: backend About backend label Oct 20, 2024
@atakanyasar atakanyasar self-assigned this Oct 20, 2024
@atakanyasar atakanyasar changed the base branch from main to develop October 20, 2024 18:03
Copy link
Contributor

@EnesBaserr EnesBaserr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For endpoints like GET users/{userId} it should return true if current user follows users which is retrieved. selfFollowing stands for if retrieved user has been already followed or not by request owner. If selfFollowing : true, frontend will render Unfollow buton, otherwise follow button will be rendered.

@atakanyasar atakanyasar deleted the feature/425-selfFollowing branch November 24, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: backend About backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Backend] Add SelfFollowing feature
2 participants