Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

fix!: upgrade to grpc-js#240

Merged
alexander-fenster merged 4 commits intomasterfrom
grpcjs
May 10, 2019
Merged

fix!: upgrade to grpc-js#240
alexander-fenster merged 4 commits intomasterfrom
grpcjs

Conversation

@JustinBeckwith
Copy link
Contributor

@JustinBeckwith JustinBeckwith commented May 10, 2019

BREAKING CHANGE: switches from grpc to @grpc/grpc-js. @grpc/grpc-js is a functionally equivalent pure-JS implementation, but does have some differences in its API surface. Also, @grpc/grpc-js requires http2 support so only works in Node.js v8.9+.

@alexander-fenster alexander-fenster changed the title fix: upgrade to grpc-js fix!: upgrade to grpc-js May 10, 2019
@codecov
Copy link

codecov bot commented May 10, 2019

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #240   +/-   ##
=======================================
  Coverage   92.18%   92.18%           
=======================================
  Files           4        4           
  Lines         307      307           
  Branches       60       60           
=======================================
  Hits          283      283           
  Misses         15       15           
  Partials        9        9
Impacted Files Coverage Δ
src/service.ts 96.96% <100%> (ø) ⬆️
src/index.ts 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 fd39eae...ab467e0. Read the comment docs.

@alexander-fenster alexander-fenster self-requested a review May 10, 2019 18:03
Copy link
Contributor

@alexander-fenster alexander-fenster left a comment

Choose a reason for hiding this comment

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

I'm totally approving my own changes here but would be great if someone else checked them as well :)

assert.strictEqual(
createFromGoogleCredentialArg.args[0],
AUTH_CLIENT
grpcCredentials.constructor.name,
Copy link

Choose a reason for hiding this comment

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

seems like this API surface here would be a breaking change? but is this breaking the law of demeter, mainly I don't think people using nodejs-common-grpc would have a reason to reach in here right?

@alexander-fenster alexander-fenster merged commit a2e03d3 into master May 10, 2019
@alexander-fenster alexander-fenster deleted the grpcjs branch May 10, 2019 18:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants