-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix decoration logic for paramSingle (#317)
When building paramSingle using decorators, there was a descrepancy when the invoking Scope does not have a decorator for the type but one of its parent Scopes does. This resulted in the parent Scope having to Invoke a function that uses the decorated type for the child to start seeing it too. This fixes paramSingle to search all effective scopes for a decorator and invoke that instead of searching just the scope it was invoked from. Fixes #316
- Loading branch information
Showing
2 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
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