Skip to content

add FIREBASE_DATABASE_EMULATOR_HOST_VAR - #596

Merged
jmwski merged 6 commits into
masterfrom
wyszynski/rtdb-emulator-envvar
Jul 19, 2019
Merged

add FIREBASE_DATABASE_EMULATOR_HOST_VAR#596
jmwski merged 6 commits into
masterfrom
wyszynski/rtdb-emulator-envvar

Conversation

@jmwski

@jmwskijmwski commented Jul 18, 2019

Copy link
Copy Markdown
Contributor

Support specifying database endpoint with FIREBASE_DATABASE_EMULATOR_HOST.

@samtsternsamtstern left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@hiranya911 Jan and I did a bunch of manual testing today, this simplified version will work in conjunction with some changes to the emulator itself (which are also out for review)

@hiranya911hiranya911 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @IanWyszynski. Looks pretty good. Just have some comments about the tests.

Comment threadtest/unit/firebase-app.spec.ts Outdated
Comment threadtest/unit/firebase.spec.ts Outdated
Comment threadtest/unit/firebase-app.spec.ts Outdated
@jmwski
jmwski requested a review from hiranya911July 19, 2019 00:55
@jmwski

Copy link
Copy Markdown
ContributorAuthor

This is currently blocked on the minor version bump in firebase/firebase-js-sdk#2005, which must get merged first.

@hiranya911hiranya911 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @IanWyszynski. Code looks good. Please push the updated package-lock file so the tests can pass. Then I can merge.

Comment threadpackage.json Outdated
Comment threadsrc/database/database.ts Outdated

@egilmorezegilmorez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Other than a tiny nit, comments have my blessing for style. Thanks!

@hiranya911hiranya911 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 👍

@jmwski
jmwski merged commit e963005 into masterJul 19, 2019
@jmwski
jmwski deleted the wyszynski/rtdb-emulator-envvar branch July 19, 2019 21:53
jmwski added a commit that referenced this pull request Jul 23, 2019
jmwski added a commit that referenced this pull request Jul 23, 2019
Sign up for freeto 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.

4 participants

@jmwski@hiranya911@egilmorez@samtstern