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

refactor: Extracting out Proto preparation logic to encourage reusability #876

Merged
merged 5 commits into from
Oct 14, 2022

Conversation

jainsahab
Copy link
Contributor

This change introduces a component called ProtoPreparer which will be used to populate the protos from the domain objects. In the upcoming count aggregation feature, aggregation query will be acting upon StructuredQuery and GqlQuery and hence need to populate the protos of those queries again. For that reason ProtoPreparer component will have the responsibility to populate the protos and be reused in multiple usecases.

Note: This PR is intended to trim down the changes done as part of #823 .

@jainsahab jainsahab requested review from a team as code owners October 13, 2022 14:32
@kolea2 kolea2 changed the title chore: Extracting out Proto preparation logic to encourage reusability refactor: Extracting out Proto preparation logic to encourage reusability Oct 13, 2022
@product-auto-label product-auto-label bot added size: l Pull request size is large. api: datastore Issues related to the googleapis/java-datastore API. labels Oct 13, 2022
@jainsahab jainsahab added the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 14, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 14, 2022
@jainsahab jainsahab added the automerge Merge the pull request once unit tests and other checks pass. label Oct 14, 2022
@gcf-merge-on-green gcf-merge-on-green bot merged commit 4641306 into googleapis:main Oct 14, 2022
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the googleapis/java-datastore API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants