scottbishopdev / RoverInterviewProject

A project I completed in about two weeks while interviewing for Rover.com in 2018. This is a re-upload of my original Rover_Interview_Project repo.
GNU General Public License v3.0
0 stars 0 forks source link

Investigate dependency injection for Typegoose schemas #26

Open scottbishopdev opened 3 years ago

scottbishopdev commented 3 years ago

Currently, I believe that I'm creating multiple models representing the various mongoose/typegoose schemas that are loaded at the same time. If I'm understanding thing correctly, this could cause issues like race conditions. I believe that schema models like these would be good candidates for server-wide singletons, but I need to investigate that idea further.