Skip to content

Make count queries publicly available for use#6608

Merged
milaGGL merged 39 commits intomasterfrom
mila/count-export-count-quries
Sep 28, 2022
Merged

Make count queries publicly available for use#6608
milaGGL merged 39 commits intomasterfrom
mila/count-export-count-quries

Conversation

@milaGGL
Copy link
Copy Markdown
Contributor

@milaGGL milaGGL commented Sep 16, 2022

This PR publicly exports the classes, methods, and functions that provide "count" queries, making them available for anyone to use. See #6597 for the implementation of COUNT queries.

Withholding this PR till the count query is ready to be released.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Sep 16, 2022

🦋 Changeset detected

Latest commit: 88d0266

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@firebase/firestore Minor
firebase Minor
@firebase/firestore-compat Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment thread .changeset/wicked-tomatoes-grow.md Outdated
Comment thread packages/firestore/src/api/aggregate.ts Outdated
Copy link
Copy Markdown
Contributor

@dconeybe dconeybe left a comment

Choose a reason for hiding this comment

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

One tiny change. Also, please address the problems reported by lint.

Comment thread packages/firestore/src/core/count_query_runner.ts Outdated
@dconeybe
Copy link
Copy Markdown
Contributor

Here's another problem: When I ran yarn build it produced this error:

Error: Circular dependency: src/lite-api/aggregate.ts -> src/core/count_query_runner.ts -> src/lite-api/aggregate.ts

This need to be fixed too.

@milaGGL milaGGL marked this pull request as ready for review September 26, 2022 19:54
@milaGGL milaGGL requested a review from dconeybe September 26, 2022 19:54
Copy link
Copy Markdown
Contributor

@dconeybe dconeybe left a comment

Choose a reason for hiding this comment

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

LGTM!

@dconeybe
Copy link
Copy Markdown
Contributor

I've added the do-not-merge label to make sure we don't merge until we get the green light to release count.

Comment thread .changeset/wicked-tomatoes-grow.md
@dconeybe dconeybe changed the title export count query Make count queries publicly available for use Sep 28, 2022
@milaGGL milaGGL merged commit ee871fc into master Sep 28, 2022
@milaGGL milaGGL deleted the mila/count-export-count-quries branch September 28, 2022 17:57
@google-oss-bot google-oss-bot mentioned this pull request Sep 29, 2022
Copy link
Copy Markdown
Contributor

@egilmorez egilmorez left a comment

Choose a reason for hiding this comment

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

Here are some things that would be great to get into a follow-on PR, thanks!

Comment thread packages/firestore/src/api/aggregate.ts
Comment thread packages/firestore/src/api/aggregate.ts
Comment thread packages/firestore/src/api/aggregate.ts
Comment thread packages/firestore/src/api/aggregate.ts
Comment thread packages/firestore/src/api/aggregate.ts
Comment thread packages/firestore/src/api/aggregate.ts
Comment thread packages/firestore/src/core/count_query_runner.ts
@dconeybe
Copy link
Copy Markdown
Contributor

dconeybe commented Oct 3, 2022

Here are some things that would be great to get into a follow-on PR, thanks!

Thanks for the suggestions! I was the one who wrote these doc comments so I'll make the follow-up changes. I'll be tracking this work in b/250612059.

@egilmorez
Copy link
Copy Markdown
Contributor

egilmorez commented Oct 3, 2022 via email

@firebase firebase locked and limited conversation to collaborators Oct 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants