-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(context): tidy up context for resolving injections of a singleto…
…n binding - We now use owner context of the current binding to resolve injections if the current binding scope is `SINGLETON`. This change makes sure a singleton binding won't have dependencies outside of the owner context chain. It fixes the root cause of #2495. - add more tests for controller route - add a diagram and table to explain how binding scopes impact resolution
- Loading branch information
1 parent
781cd1d
commit f5bf43c
Showing
11 changed files
with
506 additions
and
91 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.