Skip to content

Glasgow | 25 SDC NOV | Katarzyna Kazimierczuk | Sprint 1 | Unfollow#159

Open
katarzynakaz wants to merge 2 commits intoCodeYourFuture:mainfrom
katarzynakaz:unfollow
Open

Glasgow | 25 SDC NOV | Katarzyna Kazimierczuk | Sprint 1 | Unfollow#159
katarzynakaz wants to merge 2 commits intoCodeYourFuture:mainfrom
katarzynakaz:unfollow

Conversation

@katarzynakaz
Copy link

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Briefly explain your PR.

Questions

Ask any questions you have for your reviewer. You must remove this section if you have no questions.

@katarzynakaz katarzynakaz added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. 📅 Sprint 1 Assigned during Sprint 1 of this module labels Feb 22, 2026
@OracPrime OracPrime added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Feb 28, 2026
Copy link

@OracPrime OracPrime left a comment

Choose a reason for hiding this comment

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

This is pretty much a model answer for this problem, well done.
There is an argument that unfollow should be a DELETE of a Follow rather than a POST of an unfollow, but Daniel things that's being too "purist" about REST, so don't bother changing it. Not least there is the complication that DELETE requests shouldn't have a body so you'd need to URLEncode and put the username in the URL

@OracPrime OracPrime added Reviewed Volunteer to add when completing a review with trainee action still to take. Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed. Reviewed Volunteer to add when completing a review with trainee action still to take. 📅 Sprint 1 Assigned during Sprint 1 of this module

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants