-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sometimes an `impl Trait` can be more than one level of generics deep. Or it might come from more than just the immediate children. This PR handles these cases correctly. It also expands the child dependency explicitly rather than calling a function to get the child dependencies. This is needed to prevent premature casting to `impl` types which leads to a compile error. This also adds a complex example to show how dependency container can be used with side-effects, mixed lifetimes, and async dependencies.
- Loading branch information
Showing
37 changed files
with
838 additions
and
506 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
Oops, something went wrong.