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

Config check for ignored types, nullable and provided type #140

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

arnaudgiuliani
Copy link
Member

@arnaudgiuliani arnaudgiuliani commented Jul 15, 2024

Fix configuration check about ignored type list (Android) or if the type nullable.

Introduce @Provided to let define a dependency as provided externally to Koin annotations config. Like if you have a type declared manually in DSL ou on the fly, you can unlock Koin config check to verify it.

example:

@Factory
class MyPresenter(val context: Context, @Provided val provided : MyProvidedComponent)

Context: is detected as ignored type to verify
MyProvidedComponent: is tagged as provided externally

  • also fixed, capacity to generate Default file with hashcode to avoid clash in merge/dex

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

Successfully merging this pull request may close these issues.

1 participant