-
Notifications
You must be signed in to change notification settings - Fork 906
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
Firestore triggers broken in emulator #1417
Comments
I found a few problems with this issue:
|
Hi @aputinski do your functions run correctly when you deploy them? |
Yes. This is just for the emulator. |
Gotcha, thanks. I'm going to transfer this issue to the firebase-tools repo as emulation is done in the Firebase CLI. |
Thanks! |
@samtstern FYI, I think this is similar to the issue with RTDB triggers in emulation we discussed yesterday. Let me know how I can help! |
@aputinski this comes from using |
So if I use |
@aputinski yes I think it would. |
@aputinski I have nothing to contribute, but hi Adam! Glad to see you're still using Firebase after all these years :) |
@abeisgoat I'll always be a Firebaser 🔥 |
[REQUIRED] Version info
node: 10.15.3
firebase-functions: 3.0.0
firebase-tools: 7.0.0
firebase-admin: 8.0.0
[REQUIRED] Test case
https://github.com/aputinski/firebase-functions-test-case
[REQUIRED] Steps to reproduce
See README in repo above
[REQUIRED] Expected behavior
[REQUIRED] Actual behavior
It looks like the data and context are being combined into the first argument
https://github.com/firebase/firebase-functions/blob/master/src/cloud-functions.ts#L242
Were you able to successfully deploy your functions?
N/A
The text was updated successfully, but these errors were encountered: