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

Adding DocumentSnapshot support for Cursors #100

Merged
merged 3 commits into from
Jan 12, 2018

Conversation

schmidt-sebastian
Copy link
Contributor

Adds support for DocumentSnapshots in the Query Cursor API. Related: #98

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

codecov bot commented Jan 10, 2018

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #100   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          12     12           
  Lines        1601   1642   +41     
=====================================
+ Hits         1601   1642   +41
Impacted Files Coverage Δ
src/reference.js 100% <100%> (ø) ⬆️
src/path.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 65d904a...d7f03ba. Read the comment docs.

Copy link
Contributor

@mikelehen mikelehen left a comment

Choose a reason for hiding this comment

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

One concern, but otherwise looks good!

src/reference.js Outdated

this._fieldOrders.push(
new FieldOrder(FieldPath.documentId(), lastDirection)
);

This comment was marked as spam.

This comment was marked as spam.

Copy link
Contributor

@mikelehen mikelehen left a comment

Choose a reason for hiding this comment

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

Nice! Looks good.

@schmidt-sebastian schmidt-sebastian merged commit 563f8d0 into master Jan 12, 2018
@ghost ghost removed the cla: yes This human has signed the Contributor License Agreement. label Jan 12, 2018
@schmidt-sebastian schmidt-sebastian deleted the mrschmidt-cursors branch January 30, 2018 16:38
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.

None yet

2 participants