6 lines
483 B
Plaintext
6 lines
483 B
Plaintext
- Decide on whether to always use the namespace to call methods and pass an id, with the returned objects "Player",
|
|
"DbUser", etc. all being immutable object copies with limited attributes and no methods, or actually create extra
|
|
classes that have methods that can be called (right now thinking the first idea is better).
|
|
-> This way will be completely decoupled from Mongoose and MongoDB and will have full control.
|
|
|
|
- Fix the stats logic so that the stats model does most of it |