Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client): Remove use of singleton pattern
The singleton pattern has fallen out of favor lately, as it reduces the flexibility of a module, and sometimes makes it harder to unit test. More details on the singleton pattern: https://stackoverflow.com/questions/12755539/why-is-singleton-considered-an-anti-pattern This change removes dbclient's use of the singleton pattern, which should help folk who are using the module in ways we didn't anticipate. Fixes #77
- Loading branch information