-
Notifications
You must be signed in to change notification settings - Fork 2
feat(di): Added the ability to add dependencies when creating a container #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
chesedo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!!
I'm going to have a lot of questions to ensure this can evolve in the future. But this already seems close to workable
despatma-dependency-container/tests/expand/constructor_argument.rs
Outdated
Show resolved
Hide resolved
despatma-dependency-container/tests/expand/constructor_argument.expanded.rs
Show resolved
Hide resolved
chesedo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy with this approach not blocking (possible) future expansions. Just some notes on the code and an updated doc is missing.
despatma-dependency-container/src/processing/visitor/extract_embedded_dependency.rs
Outdated
Show resolved
Hide resolved
despatma-dependency-container/src/processing/visitor/impl_trait_fields.rs
Show resolved
Hide resolved
despatma-dependency-container/tests/expand/async_constructor_argument.expanded.rs
Show resolved
Hide resolved
|
I've fixed all the points we discussed. Can I squash commits? |
I'll just squash on merge |
|
Thanks for this @libmonsoon-dev !! |
See issue