Skip to content

feat: support deletion of nested field values#2913

Open
IzaakGough wants to merge 4 commits into
nextfrom
@invertase/feat-support-nested-field-value-deletion
Open

feat: support deletion of nested field values#2913
IzaakGough wants to merge 4 commits into
nextfrom
@invertase/feat-support-nested-field-value-deletion

Conversation

@IzaakGough

@IzaakGough IzaakGough commented Jul 17, 2026

Copy link
Copy Markdown

Resolves #2910

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for nested fields in the auto-discovery search configuration of the delete-user-data extension. It updates the search field parser to handle dot-separated paths and adds corresponding unit tests. The reviewer suggested simplifying the nested field retrieval by passing the dot-separated string directly to snapshot.get() instead of manually splitting and constructing a FieldPath, while also trimming the field name for robustness.

Comment thread delete-user-data/functions/src/index.ts Outdated
IzaakGough and others added 3 commits July 17, 2026 11:07
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@IzaakGough
IzaakGough marked this pull request as ready for review July 17, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 [delete-user-data] Not all data is deleted

2 participants