Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhide APIs and enable tests #1869

Merged
merged 3 commits into from
Aug 2, 2023
Merged

Conversation

ehsannas
Copy link
Contributor

All tests pass.

@ehsannas ehsannas requested review from a team as code owners 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
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
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.

types/firestore.d.ts Show resolved Hide resolved
dev/system-test/firestore.ts Outdated Show resolved Hide resolved
dev/system-test/firestore.ts Outdated Show resolved Hide resolved
@ehsannas
Copy link
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
7 of 12 checks passed
@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 <1124037+MarkDuckworth@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
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/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