BreakOutEvent / breakout-backend

The backend for BreakOut
GNU Affero General Public License v3.0
12 stars 0 forks source link

Refactor Challenges / Sponsorings #183

Open florianschmidt1994 opened 7 years ago

florianschmidt1994 commented 7 years ago

Challenges & Sponsorings should be refactored. Proposed idea: img_6525 Everything is an abstract Challenge, where each implementation is a different variation of the challenges that are available in our system (e.g. OnetimeChallenge, RepeatingChallenge, DistanceChallenge) Also, UnregisteredSponsors are more loosely coupled, as both UnregisteredSponsor and Sponsor implement the ISponsor Interface

tgraupne commented 7 years ago

@florianschmidt1994 What do you think about splitting this into two issues since both refactoring are quite complex?