GeezerVison is showing github.com — feat(firestore): Added FieldValue.minimum() and FieldValue.maximum() by MarkDuckworth · Pull Request #8151 · googleapis/google-cloud-node
Conversation
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
gemini-code-assist[bot] reacted with eyes emoji
There was a problem hiding this 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 FieldValue.minimum() and FieldValue.maximum() to the Firestore SDK, enabling server-side numeric transformations. The implementation includes a refactor of numeric transform logic into a base NumericFieldTransform class along with comprehensive unit, system, and type tests. Feedback highlights an opportunity to further reduce code duplication by moving shared methods to the base class and identifies a logic error in the isEqual() implementation regarding NaN values, which should be addressed and verified with additional test cases.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…arkduckworth/port-pr-2024
MarkDuckworth
changed the title
feat: Implement FieldValue.minimum() and FieldValue.maximum()
feat(firestore): Implement FieldValue.minimum() and FieldValue.maximum()
May 1, 2026
MarkDuckworth
changed the title
feat(firestore): Implement FieldValue.minimum() and FieldValue.maximum()
feat(firestore): Added FieldValue.minimum() and FieldValue.maximum()
May 1, 2026
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
thiyaguk09
pushed a commit
to thiyaguk09/google-cloud-node-fork
that referenced
this pull request
May 5, 2026
This was referenced May 6, 2026
Reviewers
+1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|