These are the mongoose schemas for the user_game_results collection
The two schemas currently in this collection are userActiveGamesSchema and userGameStats
//todo at some point would like to remove these schemas as we already handle input validation with express-validator
//todo and the error throwing with mongoose is inconsistent and hard to work with
These are the mongoose schemas for the user_game_results collection The two schemas currently in this collection are userActiveGamesSchema and userGameStats //todo at some point would like to remove these schemas as we already handle input validation with express-validator //todo and the error throwing with mongoose is inconsistent and hard to work with