Skip to content

🐛 [delete-user-data] support v2 functions/ non-default firestore instances #2498

@Bradley-McCallion

Description

@Bradley-McCallion

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions