Skip to content

Suggestion: rename app.delete() #489

@hden

Description

@hden

FWIW it's very confusing. Every developer running into this will have to wonder: does it cleanup the local background tasks or delete the production database entirely?

The documentation does not help either.

Renders this app unusable and frees the resources of all associated services.
https://firebase.google.com/docs/reference/admin/node/admin.app.App#delete

By app does it mean the app object I initiated locally or does it mean the production database (used to be called Firebase App)?

Please consider a common alternative, such as disconnect.

Related to #91 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions