Resolver
Resolver copied to clipboard
Feature Request | Platform specific registering and resolving
A bit of a potential feature request.
Scenario: I'm working on Multiplatform app and have found ourselves using some #os directives here and there where we want platform specific implementations.
What would you think of adding platform as a parameter, e.g.
register(.iOS) { Foo() }
and
@Inject(.iOS) private far foo: Foo
Or would you recommend some other way?
PS: Love your work!
这是来自QQ邮箱的自动回复邮件。 邮件已收到
1