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

feat(diregapic)(pagination): support paging map response type - #922

Merged
summer-ji-eng merged 12 commits into
masterfrom
paging_map_response
Jul 15, 2021
Merged

feat(diregapic)(pagination): support paging map response type#922
summer-ji-eng merged 12 commits into
masterfrom
paging_map_response

Conversation

@summer-ji-eng

@summer-ji-eng summer-ji-eng commented Jul 12, 2021

Copy link
Copy Markdown
Contributor

Before: paging response is only array.
After: support paging map type response for DIREGAPIC mode.

Map handle details:
gax-nodejs createIterator return array of tuple with pair of key and value. Impl PR.
The client library surface need to handle the return type as AsyncIterable<[string, AddressAggregateList]>

Next:

@summer-ji-eng
summer-ji-eng requested a review from a team July 12, 2021 07:26
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Jul 12, 2021
Comment thread templates/typescript_gapic/_util.njk Outdated
Comment thread templates/typescript_gapic/src/$version/$service_client.ts.njk Outdated
Comment thread typescript/src/schema/proto.ts Outdated
Comment thread typescript/src/schema/proto.ts Outdated
Comment thread typescript/src/schema/proto.ts

@alexander-fenster alexander-fenster left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good so far! Would love to see how this would change the compute_small baseline. Let's add the baseline first, and then update this PR.

@summer-ji-eng

summer-ji-eng commented Jul 14, 2021

Copy link
Copy Markdown
Contributor Author

Thanks Alex for reviewing my PRs. 🙇 Baseline PR is here #930

@summer-ji-eng
summer-ji-eng merged commit 693732f into master Jul 15, 2021
@summer-ji-eng
summer-ji-eng deleted the paging_map_response branch July 15, 2021 20:57
@summer-ji-eng summer-ji-eng changed the title feat: support paging map response type feat: [diregapic][pagination]support paging map response type Sep 9, 2021
@summer-ji-eng summer-ji-eng changed the title feat: [diregapic][pagination]support paging map response type feat(diregapic)(pagination): support paging map response type Sep 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants