You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Scope annotations now take arguments into account. This means for example, if you have
@Scope
annotationclassNamedScope(valvalue:String)
then the scope: @NamedScope("one") and @NamedScope("two") would be treated as distinct. Previously they were
treated as the same scope.
Legacy implicit assisted injection (not using the @Assisted annotation) is now an error.
The build will now fail if multiple qualifiers are applied in the same place, instead of picking the first one. This
applies both to the new annotation (see below) and javax.inject.Qualifier. A minor exception is you are allowed to
have one of each type to aid in migration. In that case the me.tatarka.inject one will be chosen.
Added
Added a me.tatarka.inject.annotations.Qualifier annotation as an alternative to using typealias. For example, you
could do:
This behaves the same as javax.inject.Qualifier does when you have me.tatarka.inject.enableJavaxAnnotations=true.
Added a new @KmpComponentCreate annotation for nicer multiplatform support. This allows you to create component
instances from common code when generating platform-specific outputs.