Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Including previous data when we encounter a transform #119

Merged
merged 2 commits into from
Jan 30, 2018

Conversation

schmidt-sebastian
Copy link
Contributor

@schmidt-sebastian schmidt-sebastian commented Jan 29, 2018

Fixes firebase/firebase-admin-node#191

When we compute the merge document from an update call, we cannot just skip all leaf paths that include document transforms. We need to retain any existing data that may already be available at this path.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 29, 2018
@codecov
Copy link

codecov bot commented Jan 29, 2018

Codecov Report

Merging #119 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #119   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          12     12           
  Lines        1648   1648           
=====================================
  Hits         1648   1648
Impacted Files Coverage Δ
src/document.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0f7a975...e4b1ed0. Read the comment docs.

@gsoltis
Copy link

gsoltis commented Jan 29, 2018

LGTM. Looks like I'm not part of the org yet though.

@schmidt-sebastian schmidt-sebastian merged commit f8e1d23 into master Jan 30, 2018
@ghost ghost removed the cla: yes This human has signed the Contributor License Agreement. label Jan 30, 2018
@schmidt-sebastian schmidt-sebastian deleted the mrschmidt-nonemptymap branch January 30, 2018 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants