-
Notifications
You must be signed in to change notification settings - Fork 893
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
Update REST and wire protocol query params for startAfter
, endBefore
#6706
Conversation
🦋 Changeset detectedLatest commit: 202ac61 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
0bb32b2
to
eb447a7
Compare
startAfter
, endBefore
startAfter
, endBefore
eb447a7
to
724336d
Compare
This is a good opportunity to extend the syncpoint spec protocol and add a new test. We can update the parser here: And then add a few specs here: These tests validate that we raise the right events for listeners. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this great cleanup!
44df2b1
to
28911b5
Compare
28911b5
to
e6b2bc4
Compare
Changeset File Check ✅
|
ff2d932
to
bb3c4ed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
…re` (firebase#6706) * Update REST and wire protocol query constants for startAfter, endBefore * Update query unit tests * Update RTDB emulator version * Extend syncpoint spec protocol * Account for bound inclusivity with LimitedFilter * Address PR feedback * Add test case with * Address PR feedback
We now support
startAfter
andendBefore
on our REST endpoints (b/207844859). We've also added the fieldssin
("start is inclusive") andein
("end is inclusive") to the wire protocol payload (https://github.com/firebase/firebase-server/pull/4006).These are the corresponding client-side updates. Note that we don't need to compute the successor or predecessor value anymore.
Note that CI checks will fail until the new NSS version is released.