Refactored User#follow into a service
What does this MR do and why?
Refactor User#follow into a service
Gives more flexibility in error handling, can associate an HTTP status code with each error, and better separation of concerns.
Solves issue #375061
How to set up and validate locally
- Ensure pipelines pass
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Ted Tran