googleapis / googleapis/google-cloud-node

Add a dry run option to recursiveDelete

Open
#7,475 4 comments 0 reactions 0 assignees View on GitHub
api: firestore library: nodejs-firestore priority: p3 type: feature request
Dominant language
TypeScript
Stars
3.2k
Forks
712
Avg merge
2d 3h
Merged PRs (30d)
99

Description

**Is your feature request related to a problem? Please describe.**
`recursiveDelete` is a dangerously destructive operation. I think there should be a way to list document(s) that will be deleted.

**Describe the solution you'd like**
Add a third argument to [`recursiveDelete`](https://googleapis.dev/nodejs/firestore/latest/Firestore.html#recursiveDelete) method, `options?.dryRun: boolean`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.