Skip to content

feat(firestore): update and delete pipeline DML stages#14331

Merged
bhshkh merged 4 commits into
googleapis:mainfrom
bhshkh:feat/fspq-dml-stages
Apr 2, 2026
Merged

feat(firestore): update and delete pipeline DML stages#14331
bhshkh merged 4 commits into
googleapis:mainfrom
bhshkh:feat/fspq-dml-stages

Conversation

@bhshkh
Copy link
Copy Markdown
Contributor

@bhshkh bhshkh commented Apr 2, 2026

Corresponding Java PR which was used as reference: googleapis/java-firestore#2317

@bhshkh bhshkh requested review from a team as code owners April 2, 2026 20:51
@product-auto-label product-auto-label Bot added the api: firestore Issues related to the Firestore API. label Apr 2, 2026
Copy link
Copy Markdown
Contributor

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

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 introduces Update and Delete stages to the Firestore Pipeline, including internal stage implementations, proto mapping, and tests. The review feedback suggests refining the documentation and examples to correctly handle variadic arguments and removing unused DeleteOption types and parameters to maintain a clean API.

Comment thread firestore/pipeline.go
Comment thread firestore/pipeline.go Outdated
Comment thread firestore/pipeline.go Outdated
Comment thread firestore/pipeline.go
bhshkh and others added 3 commits April 2, 2026 13:55
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@bhshkh bhshkh enabled auto-merge (squash) April 2, 2026 20:58
@bhshkh bhshkh merged commit 46df848 into googleapis:main Apr 2, 2026
11 checks passed
Comment thread firestore/pipeline.go
//
// This method updates the documents in place based on the data flowing through the pipeline.
// You can optionally specify a list of [Selectable] field transformations using [WithUpdateTransformations].
// If no transformations are provided, it performs the update in-place without any changes.
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.

it performs the update in-place without any changes.

This seems a little unclear to me. Doesn't it replace the whole doc if no selectables are given?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed in #14322

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: firestore Issues related to the Firestore API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants