Update REST and wire protocol query params for startAfter, endBefore by tohhsinpei · Pull Request #6706 · firebase/firebase-js-sdk (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation32 Commits9 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

@tohhsinpei

We now support startAfter and endBefore on our REST endpoints (b/207844859). We've also added the fields sin ("start is inclusive") and ein ("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.

@tohhsinpei

@changeset-bot

@google-oss-bot

Size Report 1

Affected Products

Type Base (a9add5e) Merge (77a5149) Diff
browser 248 kB 247 kB -763 B (-0.3%)
esm5 276 kB 275 kB -802 B (-0.3%)
main 281 kB 281 kB -802 B (-0.3%)
module 248 kB 247 kB -763 B (-0.3%)
Type Base (a9add5e) Merge (77a5149) Diff
main 370 kB 369 kB -802 B (-0.2%)
Type Base (a9add5e) Merge (77a5149) Diff
database (Append to a list of data) 148 kB 148 kB +103 B (+0.1%)
database (Filtering data) 147 kB 147 kB +103 B (+0.1%)
database (Listen for child events) 163 kB 163 kB +551 B (+0.3%)
database (Listen for value events + Detach listeners) 163 kB 163 kB +551 B (+0.3%)
database (Listen for value events) 163 kB 163 kB +551 B (+0.3%)
database (Read data once) 162 kB 163 kB +551 B (+0.3%)
database (Save data as transactions) 165 kB 165 kB +551 B (+0.3%)
database (Sort data) 148 kB 148 kB +103 B (+0.1%)
database (Write data) 147 kB 147 kB +103 B (+0.1%)
Type Base (a9add5e) Merge (77a5149) Diff
firebase-compat.js 740 kB 740 kB -217 B (-0.0%)
firebase-database-compat.js 166 kB 165 kB -217 B (-0.1%)
firebase-database.js 154 kB 154 kB -236 B (-0.2%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/r92rXRt0pQ.html

@google-oss-bot

Size Analysis Report 1

Affected Products

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/vKoG90beeP.html

@tohhsinpei tohhsinpei changed the titleUpdate REST and wire protocol query constants for startAfter, endBefore Update REST and wire protocol query params for startAfter, endBefore

Oct 19, 2022

@tohhsinpei

@jmwski

jmwski

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!

@tohhsinpei

@tohhsinpei

maneesht

@tohhsinpei

@github-actions

Changeset File Check ✅

jmwski

maneesht

@tohhsinpei

maneesht

@tohhsinpei tohhsinpei changed the base branch from master to mtewani/fix-syncpoint-test-compare

November 14, 2022 19:40

@tohhsinpei

maneesht

maneesht

maneesht

maneesht

maneesht

Base automatically changed from mtewani/fix-syncpoint-test-compare to master

November 15, 2022 16:21

@tohhsinpei

@tohhsinpei

maneesht

Choose a reason for hiding this comment

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

LGTM, thanks!

hsubox76

@firebase firebase locked and limited conversation to collaborators

Dec 19, 2022

Reviewers

@maneesht maneesht maneesht approved these changes

@hsubox76 hsubox76 hsubox76 approved these changes

@jsdt jsdt Awaiting requested review from jsdt

@dwyfrequency dwyfrequency Awaiting requested review from dwyfrequency

@egilmorez egilmorez Awaiting requested review from egilmorez

@jmwski jmwski Awaiting requested review from jmwski

@markarndt markarndt Awaiting requested review from markarndt