Skip to content

feat(firestore): new generic pipeline expressions#16550

Draft
daniel-sanche wants to merge 12 commits intomainfrom
firestore_pipelines_common_expressions
Draft

feat(firestore): new generic pipeline expressions#16550
daniel-sanche wants to merge 12 commits intomainfrom
firestore_pipelines_common_expressions

Conversation

@daniel-sanche
Copy link
Copy Markdown
Contributor

@daniel-sanche daniel-sanche commented Apr 3, 2026

New Expressions:

  • offset
  • nor
  • coalesce
  • switch_on
  • array_filter
  • array_transform
  • storage_size

Note: parent and reference_slice will be added in a separate PR. More detailed changes will be needed to support arbitrary collection/database references; currently only document references are supported

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 several new pipeline expressions to the Firestore library, including offset, coalesce, switch_on, parent, and a logical Nor operator, supported by new system and unit tests. The reviewer suggested refactoring the coalesce and switch_on methods for better conciseness and identified typos in the switch_on docstring and a unit test variable name.

@daniel-sanche daniel-sanche changed the title feat(firestore): new generic expressions feat(firestore): New generic pipeline expressions Apr 3, 2026
@daniel-sanche daniel-sanche changed the title feat(firestore): New generic pipeline expressions feat(firestore): new generic pipeline expressions Apr 3, 2026
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.

1 participant