etoa / etoa-gui

EtoA Game GUI
https://etoa.ch
GNU Affero General Public License v3.0
10 stars 7 forks source link

Migrate specialist class #383

Closed mrcage closed 3 years ago

mrcage commented 3 years ago

Yes and no. I am not the biggest fan of dummy objects, as it can lead to accidental errors as well if somebody removes/changes it in the db, but on the other hand, it would enable us to not have null checks...

glaubinix commented 3 years ago

Sure, it can be the same class just a different named constructor for instance. To make sure that all values are set properly can be enforced via Test case. Happy to merge this as is though.