Make SentrySdkDsn a value class instead of a qualifier
This commit is contained in:
committed by
Jorge Martin Espinosa
parent
c7a5ce152e
commit
b31267d7c7
@@ -7,21 +7,5 @@
|
||||
|
||||
package io.element.android.libraries.di.annotations
|
||||
|
||||
import dev.zacsweers.metro.Qualifier
|
||||
|
||||
/**
|
||||
* Qualifies the Sentry SDK DSN in the DI graph.
|
||||
*/
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
@MustBeDocumented
|
||||
@Qualifier
|
||||
@Target(
|
||||
AnnotationTarget.CLASS,
|
||||
AnnotationTarget.FIELD,
|
||||
AnnotationTarget.FUNCTION,
|
||||
AnnotationTarget.PROPERTY,
|
||||
AnnotationTarget.PROPERTY_GETTER,
|
||||
AnnotationTarget.VALUE_PARAMETER,
|
||||
AnnotationTarget.TYPE,
|
||||
)
|
||||
annotation class SentrySdkDsn
|
||||
@JvmInline
|
||||
value class SentrySdkDsn(val value: String)
|
||||
|
||||
Reference in New Issue
Block a user