Skip to content

Commit 85585da

Browse files
fix(firestore): merge option should not always be true if passed (#6436)
1 parent 62ee54b commit 85585da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firestore/lib/utils/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export function parseSetOptions(options) {
9191
throw new Error("'options.merge' must be a boolean value.");
9292
}
9393

94-
out.merge = true;
94+
out.merge = options.merge;
9595
}
9696

9797
if (!isUndefined(options.mergeFields)) {

0 commit comments

Comments
 (0)