Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Pass the entire optional parameters to createStub #1050

Merged
merged 3 commits into from
Feb 22, 2017
Merged

Conversation

jmuk
Copy link
Contributor

@jmuk jmuk commented Feb 21, 2017

To allow additional grpc parameters for constructing Client.
Fix googleapis/gax-nodejs#107

To allow additional grpc parameters for constructing Client.
Fix googleapis/gax-nodejs#107
@jmuk jmuk requested a review from landrito February 21, 2017 23:22
@codecov-io
Copy link

codecov-io commented Feb 22, 2017

Codecov Report

Merging #1050 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1050   +/-   ##
=========================================
  Coverage     85.17%   85.17%           
  Complexity     3484     3484           
=========================================
  Files           366      366           
  Lines         13856    13856           
  Branches       1576     1576           
=========================================
  Hits          11802    11802           
  Misses         1597     1597           
  Partials        457      457

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 caf63b7...969250d. Read the comment docs.

Copy link
Contributor

@landrito landrito left a comment

Choose a reason for hiding this comment

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

Same question as googleapis/gax-nodejs#113 (comment).

It looks like servicePath and port will be passed into this createStub twice (explicitly as parameters and implicitly as options). Is there a good way to minimize this repetition?

@jmuk jmuk merged commit 3e4574e into googleapis:master Feb 22, 2017
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.

3 participants