We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8acaa41 commit bcdf8e3Copy full SHA for bcdf8e3
firebase-firestore/src/commonMain/kotlin/dev/gitlive/firebase/firestore/firestore.kt
@@ -402,7 +402,7 @@ public data class DocumentReference internal constructor(internal val native: Na
402
this.encodeDefaults = encodeDefaults
403
}
404
405
- public suspend inline fun <reified T : Any> set(data: T, merge: Boolean, buildSettings: EncodeSettings.Builder.() -> Unit = {}) {
+ public suspend inline fun <reified T : Any> set(data: T, merge: Boolean = false, buildSettings: EncodeSettings.Builder.() -> Unit = {}) {
406
setEncoded(
407
encodeAsObject(data, buildSettings),
408
if (merge) SetOptions.Merge else SetOptions.Overwrite,
0 commit comments