googleapis / googleapis/google-cloud-node
Add a dry run option to recursiveDelete
Open
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
Assessment
This issue has not been assessed yet.