Skip to content
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

Feature Request | Platform specific registering and resolving #172

Open
notapplicableio opened this issue Jun 22, 2023 · 2 comments
Open

Comments

@notapplicableio
Copy link

notapplicableio commented Jun 22, 2023

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!

@majie776
Copy link

majie776 commented Jun 22, 2023 via email

@revo1111
Copy link

revo1111 commented Aug 6, 2023

1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants