Skip to content

Commit

Permalink
fix(firestore): merge option should not always be true if passed (#6436)
Browse files Browse the repository at this point in the history
  • Loading branch information
snehsagarajput authored Aug 7, 2022
1 parent 62ee54b commit 85585da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/firestore/lib/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export function parseSetOptions(options) {
throw new Error("'options.merge' must be a boolean value.");
}

out.merge = true;
out.merge = options.merge;
}

if (!isUndefined(options.mergeFields)) {
Expand Down

1 comment on commit 85585da

@vercel
Copy link

@vercel vercel bot commented on 85585da Aug 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.