amzn / kotlin-inject-anvil

Extensions for the kotlin-inject dependency injection framework
Apache License 2.0
271 stars 8 forks source link

Support `internal` visibility for `@MergeComponent` components #77

Closed vRallev closed 1 week ago

vRallev commented 2 weeks ago

This is supported by kotlin-inject and should be supported for the @MergeComponent annotation, e.g.

@AppScope
@MergeComponent(AppScope::class)
internal abstract class AppComponent

Note that @ContributesSubcomponent interfaces must be public.

Implementation notes: