This is used to actually interact with databases in personal projects.
Possible next tasks:
- Make the validators have an updateMany validation that is more performant.
- Copy an existing one over
- Create an associated validator
If any of the base document types are updated, make sure to run yarn validate
to make sure that the DB is up-to-date as well.
Go ahead and run these as code in a test in the BaseRepository.spec.ts file.