-
Notifications
You must be signed in to change notification settings - Fork 400
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-send-email] Only works on (default) database #2123
Comments
Hi there, yes extensions only support events on the (default) firestore instance currently. This is blocked as v2 cloud functions are not fully supported in extensions. I will relabel this as a feature request for now. |
Good news, after investigating and escalating with the team, v2 firestore triggers ARE now supported on extensions. I will remove the blocked label and prioritise accordingly |
Great news! Thanks for the update! |
This feature is really needed, any update on this? |
Still an issue from what I can tell, I also would like to be able to specify which database for the trigger to listen to besides |
Hi there, we have a PR in the works which should add v2 support and non-default database support here: #2359 |
I have multiple databases, “(default)” and “development”. I have firestore-send-email extension installed from the Extentions tab and another one installed from after I select the “development” database.
They are configured identically but it only sends an email when I add a document to the “(default)” database ‘mail’ collection.
When I look at the processQueue Cloud Function the extension creates, it has an Environment Variable DATABASE_INSTANCE that is empty. When I try to set it to "development" through the Firebase Console, I get an error "Users can't set environment variables, only the system can." (not verbatim)
The text was updated successfully, but these errors were encountered: