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
Modify functions emulator to invoke RTDB emulator triggers #1347
Conversation
…m/firebase/firebase-tools into wyszynski/rtdb-emulator-functions
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. The regex stuff is hairier than I'd like but looks about as clean as it can be!
@IanWyszynski should we put this on |
@samtstern Let's keep this PR open until we have a new RTDB jar and this PR can then be amended to also include the change to the jar URL and checksum. In this way, the whole PR is atomic and roll back safe. |
…m/firebase/firebase-tools into wyszynski/rtdb-emulator-functions
@yuchenshi I merged b0c58ab into the |
@IanWyszynski Your call :) I think we're in a good spot to merge this to next. Hit it? |
@IanWyszynski make sure to squash and merge (instead of just merging) so it's all contained in one commit. |
Description
This change is part of the effort to integrate the RTDB emulator with the functions emulator.
Scenarios Tested
I have tested starting up a local RTDB emulator and a functions emulator that registers a single function to be called
onWrite
. I then wrote to the corresponding location in the RTDB emulator an observed that the function is called.