Skip to content

Conversation

murgatroid99
Copy link
Member

@murgatroid99 murgatroid99 commented Sep 18, 2023

This implements the grpc-health-check 2.0 design in gRFC L106. src/health.ts contains the actual implementation code, and server-type.ts contains implementation-agnostic types for defining a server (referencing only the addService method), in order to implement the HealthImplementation#addToServer method.

The generated code in src/generated makes no reference to any gRPC implementation, so it can be used with any. The generated code in test/generated is similar, except that it explicitly references @grpc/grpc-js. That is similar to code a user of this library might generate to use this library with grpc-js.

This fixes #926 and #1506.

@murgatroid99 murgatroid99 merged commit 71936fa into grpc:master Sep 25, 2023
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.

request: remove grpc dependency from @grpc/health-check
2 participants