Skip to content
New issue

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

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

Already on GitHub? # to your account

Cleaning up WriteResults #45

Merged
merged 2 commits into from
Oct 30, 2017
Merged

Cleaning up WriteResults #45

merged 2 commits into from
Oct 30, 2017

Conversation

schmidt-sebastian
Copy link
Contributor

@schmidt-sebastian schmidt-sebastian commented Oct 28, 2017

This PR addresses two issues with WriteResults:

  • The return type didn't match the API description. Instead, we returned an object that contained the specified return type inside of it.

  • When the server returns two responses for one write (due to a server transform), we should only return the first result to the user, since they are unaware of the inner workings.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 28, 2017
@codecov
Copy link

codecov bot commented Oct 28, 2017

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #45   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          11     11           
  Lines        1464   1470    +6     
=====================================
+ Hits         1464   1470    +6
Impacted Files Coverage Δ
src/write-batch.js 100% <100%> (ø) ⬆️
src/reference.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 c54030f...4f6cea5. Read the comment docs.

@codecov
Copy link

codecov bot commented Oct 28, 2017

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #45   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          11     11           
  Lines        1464   1470    +6     
=====================================
+ Hits         1464   1470    +6
Impacted Files Coverage Δ
src/write-batch.js 100% <100%> (ø) ⬆️
src/reference.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 6518af0...9778c76. Read the comment docs.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants