forked from microsoft/vscode-js-debug
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move to inversify for dependency injection (microsoft#316)
* refactor: move to inversify for dependency injection Following microsoft#312, we realized service wiring was getting rather messy and burdensome. This PR brings Inversify in to provide dependency injection. Inversify support hierarchal containers, which works nicely for our case where we have global services (e.g. delegate launcher), top-level session services (e.g. the logger and launchers) as well as session-specific services. This PR mostly just moves the services that were previously in our ad-hoc services.ts into Inversify. It's my plan that as we touch things and expand on code, we can move more services into the container. * fixup! tests, config for running in vs
- Loading branch information
1 parent
4170dc5
commit 7de2c6b
Showing
44 changed files
with
482 additions
and
340 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.