Skip to content

Conversation

@stephenplusplus
Copy link
Contributor

RE: #91

I caught this while investigating #91. When we auto-paginate using the nextQuery object built by GAPIC, we constantly push the project ID resource to the reqOpts.resourceNames argument. So for each run, we end up with with a new, duplicate entry of projects/my-project-id.

This flattens them, as well as localizes the project ID returned by the auth client, so we can still flatten the array when the user is using ADC.

@ghost ghost assigned stephenplusplus Mar 14, 2018
@ghost ghost added the cla: yes This human has signed the Contributor License Agreement. label Mar 14, 2018
@codecov
Copy link

codecov bot commented Mar 14, 2018

Codecov Report

Merging #92 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #92   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           5      5           
  Lines         396    399    +3     
=====================================
+ Hits          396    399    +3
Impacted Files Coverage Δ
src/index.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f117491...ddd7a57. Read the comment docs.

@stephenplusplus stephenplusplus mentioned this pull request Mar 19, 2018
@callmehiphop callmehiphop merged commit d05c803 into googleapis:master Mar 19, 2018
@ghost ghost removed the cla: yes This human has signed the Contributor License Agreement. label Mar 19, 2018
@stephenplusplus stephenplusplus deleted the spp--91 branch March 19, 2018 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants