Skip to content

Backport executeQuery() API changes #822

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

Merged
merged 1 commit into from
Sep 19, 2019
Merged

Conversation

schmidt-sebastian
Copy link
Contributor

From Index-Free feedback on Web (firebase/firebase-js-sdk#2169)

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.

LGTM with optional delayed nit.

queryEngine.getDocumentsMatchingQuery(
query,
usePreviousResults ? lastLimboFreeSnapshotVersion : SnapshotVersion.NONE,
usePreviousResults ? remoteKeys : DocumentKey.emptyKeySet());
Copy link
Contributor

Choose a reason for hiding this comment

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

Feel free to ignore since you'd need to back-back-port, but it seems like maybe we should just have two overloads of QueryEngine.GetDocumnetsMatchingQuery() so we don't need to pass dummy values in.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ignored.

:)

@schmidt-sebastian schmidt-sebastian merged commit 2a2e789 into master Sep 19, 2019
@rlazo rlazo deleted the mrschmidt/engine branch October 3, 2019 14:44
@firebase firebase locked and limited conversation to collaborators Oct 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants