FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: Add string pipeline expressions by dlarocque · Pull Request #2326 · googleapis/java-firestore · GitHub

This repository was archived by the owner on May 8, 2026. It is now read-only.
/ java-firestore Public archive

feat: Add string pipeline expressions - #2326

Merged
dlarocque merged 10 commits into
mainfrom
dl/string-expressions
Mar 27, 2026
Merged

feat: Add string pipeline expressions#2326
dlarocque merged 10 commits into
mainfrom
dl/string-expressions

Conversation

Copy link
Copy Markdown
Contributor

Adds string expressions: ltrim, rtrim, stringIndexOf, stringReplaceOne, stringReplaceAll, stringRepeat.

The ltrimValue and rtrimValue functions exist to avoid duplicate function declarations between the functions static Expression rtrim(Expression: valueToTrim) (trim the valueToTrim from this) and Expression ltrim(Expression: exprToTrim) (trim whitespace from exprToTrim). This is already done for the existing trim APIs here and in Android.

Ported from: firebase/firebase-js-sdk#9479

dlarocque requested review from a team, milaGGL and yvonnep165 February 26, 2026 21:00
dlarocque requested a review from a team as a code owner February 26, 2026 21:00
product-auto-label Bot added size: l Pull request size is large. api: firestore Issues related to the googleapis/java-firestore API. labels Feb 26, 2026
dlarocque force-pushed the dl/string-expressions branch from f294d5a to b98718f Compare February 26, 2026 21:26
dlarocque added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 27, 2026
yoshi-kokoro removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Feb 27, 2026

milaGGL 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM, just some minor comments

dlarocque added a commit to firebase/firebase-android-sdk that referenced this pull request Mar 26, 2026
Adds support for string expressions `ltrim`, `rtrim`, `stringRepeat`
`stringReplaceOne` `stringReplaceAll`, `stringIndexOf`.

Ported from: googleapis/java-firestore#2326
dlarocque added a commit to firebase/firebase-android-sdk that referenced this pull request Mar 26, 2026
Adds support for string expressions `ltrim`, `rtrim`, `stringRepeat`
`stringReplaceOne` `stringReplaceAll`, `stringIndexOf`.

Ported from: googleapis/java-firestore#2326
dlarocque merged commit 93db04e into main Mar 27, 2026
28 checks passed
dlarocque deleted the dl/string-expressions branch March 27, 2026 17:04
dlarocque added a commit to firebase/firebase-android-sdk that referenced this pull request Mar 31, 2026
Adds support for string expressions `ltrim`, `rtrim`, `stringRepeat`
`stringReplaceOne` `stringReplaceAll`, `stringIndexOf`.

Ported from: googleapis/java-firestore#2326
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: firestore Issues related to the googleapis/java-firestore API. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL