Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grpc-health-check: Version 2.0 #2575

Merged
merged 2 commits into from
Sep 25, 2023
Merged

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
6 checks passed
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