-
Notifications
You must be signed in to change notification settings - Fork 418
Description
This feature request is for extension: delete-user-data
What feature would you like to see?
I'd like the extension to support configuring which Firestore database is used when calling admin.firestore()
.
Currently the extension will always default to the "(default)"
Firestore database and therefore the extension fails with Error: 5 NOT_FOUND
whenever the non-default database name is used.
The feature would add support for a configuration option to set the Firestore database which would in turn initialise the firestore client like so const db = admin.firestore(app).database('FIRESTORE_DATABASE');
How would you use it?
We are using named Firestore databases in our project, and we want the extension to delete user data from a non-default Firestore database.
Adding full support for custom Firestore databases would allow us to use this extension out-of-the-box in our multi-database setup without needing to fork and modify it.