From 18ed64a327fd250a21f10d1aaae12173a1ee393a Mon Sep 17 00:00:00 2001 From: Daniel Wagner-Hall Date: Sun, 15 Feb 2026 18:49:55 +0000 Subject: [PATCH] Add sample solution to unfollow --- PROBLEM.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 PROBLEM.md diff --git a/PROBLEM.md b/PROBLEM.md new file mode 100644 index 00000000..77a9c2ea --- /dev/null +++ b/PROBLEM.md @@ -0,0 +1,18 @@ +## Unfollow + +This is a simple feature to add - pretty much just copy+pasting all of the "follow" functions/endpoints/... with an "unfollow" version. + +### Reasonable solutions + +See https://github.com/CodeYourFuture/Module-Legacy-Code/pull/73 for a high quality sample solution. + +Ideally new functions will be added directly after the existing `follow` functions, rather than elsewhere in the files or in new files - keeping related functions together makes a codebase easier to navigate. + +### Optional nice to sees + +1. A test showing the behaviour is fixed (encouraged!). + +### General problems to look out for + +1. Reformatting unaffected lines. +2. Including other changes in the same branch.