DIKit
DIKit copied to clipboard
Dependency Injection Framework for Swift, inspired by KOIN.
Hello, i have a bug when trying to resolve a dependency that i have in multiple targets My componentStack is this: ``` (lldb) po self.componentStack ▿ 8 elements ▿ 0...
I'm trying to cover a use case when the root module needs to be rebuilt due to an API environment change. Once the network client changes, the affected modules should...
Hi, Unlike Koin, it seems constructor dependency injection is not supported, doesn't it?
The @OptionalInject wrapper only works if one provides a non-optional component. If the component is optional, the @OptionalInject wrapped instance always ends up nil. This appears to be because the...
Could be implemented by traversing the Sources and collect each `@Inject` for creating the dependency-graph. If no circular dependencies are found, continue with collecting information about the dependency container creations...
For testing it's convenient to be able to destroy the context after each test and set it up before.
Quite unsure how that could looks like.
We want to test the full cycle with an running mobile app (which gets tested) within a sim.
Add support for Kotlin/Native, still depends on proper graph validation.
It should so useful to expose a method that hasn't strict rules on root assignment. In this way I can define container in Unit test class to (like an Spring...