Skip to content

add FIREBASE_DATABASE_EMULATOR_HOST_VAR #596

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 6 commits into from
Jul 19, 2019

Conversation

jmwski
Copy link
Contributor

@jmwski jmwski commented Jul 18, 2019

Support specifying database endpoint with FIREBASE_DATABASE_EMULATOR_HOST.

Copy link
Contributor

@samtstern samtstern left a comment

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)

Copy link
Contributor

@hiranya911 hiranya911 left a comment

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.

@jmwski jmwski requested a review from hiranya911 July 19, 2019 00:55
@jmwski
Copy link
Contributor Author

jmwski commented Jul 19, 2019

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

Copy link
Contributor

@hiranya911 hiranya911 left a comment

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.

Copy link
Contributor

@egilmorez egilmorez left a comment

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!

Copy link
Contributor

@hiranya911 hiranya911 left a comment

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 master Jul 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 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.

4 participants