Resolver icon indicating copy to clipboard operation
Resolver copied to clipboard

Feature Request | Platform specific registering and resolving

Open notapplicableio opened this issue 2 years ago • 2 comments

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!

notapplicableio avatar Jun 22 '23 22:06 notapplicableio

这是来自QQ邮箱的自动回复邮件。   邮件已收到

majie776 avatar Jun 22 '23 22:06 majie776

1

revo1111 avatar Aug 06 '23 21:08 revo1111