Skip to content

feat: add isType expression#2329

Draft
dlarocque wants to merge 5 commits intomainfrom
dl/istype-expression
Draft

feat: add isType expression#2329
dlarocque wants to merge 5 commits intomainfrom
dl/istype-expression

Conversation

@dlarocque
Copy link
Contributor

Adds the isType expression, and the Type enum, which contains all the types that the Firestore backend can generate.

Question: The DocumentChange (DocumentChange.java) class already defines a Type enum that represents all snapshot diff types. Is it okay to have these two enum types in the SDK? I believe most users would use this type as DocumentChange.Type rather than just Type, so there should be no name collisions.

Adds the `isType` expression, and the `Type` enum, which contains all
the types that the Firestore backend can generate.

Question: The `DocumentChange` class defines a `Type` enum that
represents all snapshot diff types. Is it okay to have these two enum
types in the SDK?
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: firestore Issues related to the googleapis/java-firestore API. labels Feb 27, 2026
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 googleapis/java-firestore API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants