All challenges
Apply SRP — split the god class
SOLID
solution.ts
hard+100 XP
Replace GodService with UserService.create(name), Mailer.send(to), and Audit.log(event). `pipeline(name, email)` should create user, send mail, log 'created:'+name, and return the user object.
Hints
- pipeline orchestrates the three collaborators
- UserService.create returns { name }
Judge
Press Run tests to execute your solution in the sandbox judge.