Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Unhide APIs and enable tests#1869

Merged
ehsannas merged 3 commits intoehsann/sum-avgfrom
ehsann/sum-avg-release
Aug 2, 2023
Merged

Unhide APIs and enable tests#1869
ehsannas merged 3 commits intoehsann/sum-avgfrom
ehsann/sum-avg-release

Conversation

@ehsannas
Copy link
Copy Markdown
Contributor

All tests pass.

@ehsannas ehsannas requested review from a team July 29, 2023 00:20
@product-auto-label product-auto-label Bot added size: l Pull request size is large. api: firestore Issues related to the googleapis/nodejs-firestore API. labels Jul 29, 2023
@ehsannas ehsannas requested review from MarkDuckworth and removed request for a team July 29, 2023 00:22
@ehsannas
Copy link
Copy Markdown
Contributor Author

ehsannas commented Jul 29, 2023

@MarkDuckworth this PR is merging into ehsann/sum-avg and since it enables tests against production, the CI is expected to fail. My intention is to merge this PR and will later have a PR from ehsann/sum-avg to main after protos are published.

Copy link
Copy Markdown
Contributor

@MarkDuckworth MarkDuckworth left a comment

Choose a reason for hiding this comment

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

Looks like one additional member that needs to be made public, but otherwise it's good to go.

Comment thread types/firestore.d.ts
Comment thread dev/system-test/firestore.ts Outdated
Comment thread dev/system-test/firestore.ts Outdated
@ehsannas
Copy link
Copy Markdown
Contributor Author

ehsannas commented Aug 2, 2023

The CI is expected to fail.

@ehsannas ehsannas merged commit de5859b into ehsann/sum-avg Aug 2, 2023
@ehsannas ehsannas deleted the ehsann/sum-avg-release branch August 2, 2023 02:09
ehsannas added a commit that referenced this pull request Aug 2, 2023
* Enable tests.

* Remove @internal annotation.

* Address comments.
ehsannas added a commit that referenced this pull request Oct 9, 2023
* feat: Sum and Average Aggregations. (#1831)

* WIP WIP.

* also add isEqual.

* lint.

* add aggregate() API in firestore.d.ts.

* Use NodeJS.Dict

* Update isEqual.

* Add isEqual unit test.

* better api.

* more tests.

* Add more tests.

* Remove test code that targets emulator.

* rename avg() to average().

* rename avg to average.

* Fix lint errors.

* Clean up.

* Address code review comments.

* Expose aggregate type and field publicly.

* Fix the way assert was imported.

* lint.

* backport test updates.

* feat: Add long-alias support for aggregations. (#1844)

* feat: Add long-alias support for aggregations.

* Lint fix and fix unit tests.

* update assertion message.

* Unhide APIs and enable tests (#1869)

* Enable tests.

* Remove @internal annotation.

* Address comments.

* Address comments.

* Removing AggregateField.field from new api.

* Fix failing test assertion with REST transport.

* Fix test query.

* Add more tests with cursors.

* prettier.

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Mark Duckworth <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
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/nodejs-firestore API. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants