Skip to content

feat(firestore): change Type string union to raw string#7621

Merged
dlarocque merged 3 commits into
mainfrom
dl/type-string
Mar 20, 2026
Merged

feat(firestore): change Type string union to raw string#7621
dlarocque merged 3 commits into
mainfrom
dl/type-string

Conversation

@dlarocque
Copy link
Copy Markdown
Contributor

@dlarocque dlarocque commented Mar 16, 2026

Beta API Breaking Change The Type string union is being replaced with a raw string. This is used in the type and isType Pipeline expressions. This breaking change is allowed since Firestore Pipelines is currently in Public Preview.

The impact of this breaking change is expected to be very small, since Type is a string union, so it doesn't need to be imported to be used, and it's not a return value for any functions. It's primarily used to give type hints to users.

**Breaking Change** The `type` string union is being replaced with a raw
string. This is used in the `type` and `isType` expressions.

The impact of this breaking change is expected to be very small, since
`Type` is a string union, so it doesn't need to be imported to be used,
and it's not a return value for any functions.
@dlarocque dlarocque requested review from milaGGL and yvonnep165 March 16, 2026 18:49
@dlarocque dlarocque requested a review from a team as a code owner March 16, 2026 18:49
@dlarocque dlarocque changed the title feat [firestore]: change Type string union to raw string feat: [firestore] change Type string union to raw string Mar 16, 2026
@dlarocque dlarocque changed the title feat: [firestore] change Type string union to raw string feat(firestore): change Type string union to raw string Mar 16, 2026
@product-auto-label product-auto-label Bot added the api: firestore Issues related to the Firestore API. label Mar 17, 2026
@dlarocque dlarocque added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 17, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 17, 2026
Copy link
Copy Markdown
Contributor

@milaGGL milaGGL left a comment

Choose a reason for hiding this comment

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

LGTM

@dlarocque dlarocque merged commit 6603c27 into main Mar 20, 2026
34 checks passed
@dlarocque dlarocque deleted the dl/type-string branch March 20, 2026 14:22
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