FAForever / faf-league-service

The league service of Forged Alliance Forever
GNU General Public License v3.0
0 stars 0 forks source link

Decouple code and data for season generation #58

Closed BlackYps closed 1 year ago

BlackYps commented 1 year ago

The current way of generating seasons couples the code to the data inserted in the database and if they get out of sync we run into issues. It should just copy the setup of the previous season instead of having so much hardcoded stuff. Then you can change the setup of future seasons by just inserting data manually, and the code knows how to handle it from there.