Skip to content

Commit 823c832

Browse files
deprecate
1 parent 7beee22 commit 823c832

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

core/src/commonMain/kotlin/com/powersync/connectors/PowerSyncCredentials.kt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,14 @@ public data class PowerSyncCredentials(
1818
val token: String,
1919
/**
2020
* User ID.
21-
* @deprecated This is no longer used.
2221
*/
23-
@SerialName("user_id") val userId: String?,
22+
@Deprecated(
23+
message = "This property is no longer used.",
24+
replaceWith = ReplaceWith(""),
25+
level = DeprecationLevel.WARNING
26+
)
27+
@SerialName("user_id")
28+
val userId: String?,
2429
) {
2530
override fun toString(): String = "PowerSyncCredentials<endpoint: $endpoint userId: $userId>"
2631

0 commit comments

Comments
 (0)