Skip to content

Enable Protobuf support in conformance tests and update README #159

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

Merged
merged 1 commit into from
Jun 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,26 +111,26 @@ The library provides two frontends:

Features comparison:

| | __http4s frontend__ | __Netty frontend__ |
|-----------------------|----------------------------------------------------|-------------------------|
| __Status__ | 🧡 production ready | alpha |
| | | |
| __ConnectRPC server__ | ✅ | ✅ |
| - JSON encoding | ✅ (fully conformant) | ✅ (fully conformant) |
| - Protobuf encoding | ⌛ Working /<br/> 13/85 conformance<br/> tests pass | ⌛ Working / 12/85 tests |
| - Unary requests | ✅ | ✅ |
| - Streaming requests | ➖ / not planned | planned |
| - GET-requests | ✅ | ✅ |
| - Compression | identity/gzip | identity/gzip |
| | | |
| __ConnectRPC client__ | ✅ | planned |
| - JSON encoding | ✅ (fully conformant) | |
| - Protobuf encoding | alpha | |
| - Unary requests | ✅ | |
| - Streaming requests | ➖ / not planned | planned |
| - Compression | identity | |
| | | |
| __gRPC Transcoding__ | ✅ (see table below) | planned |
| | __http4s frontend__ | __Netty frontend__ |
|-----------------------|-------------------------------------|-------------------------------------|
| __Status__ | 🧡 production ready | alpha |
| | | |
| __ConnectRPC server__ | ✅ | ✅ |
| - JSON encoding | ✅ (fully conformant) | ✅ (fully conformant) |
| - Protobuf encoding | ⌛ partially /<br/> 13/85 tests pass | ⌛ partially /<br/> 12/85 tests pass |
| - Unary requests | ✅ | ✅ |
| - Streaming requests | ➖ / not planned | planned |
| - GET-requests | ✅ | ✅ |
| - Compression | identity/gzip | identity/gzip |
| | | |
| __ConnectRPC client__ | ✅ | planned |
| - JSON encoding | ✅ (fully conformant) | |
| - Protobuf encoding | ⌛ partially /<br/> 26/56 tests pass | |
| - Unary requests | ✅ | |
| - Streaming requests | ➖ / not planned | planned |
| - Compression | identity | |
| | | |
| __gRPC Transcoding__ | ✅ (see table below) | planned |

Built-in [GRPC Transcoding](https://cloud.google.com/endpoints/docs/grpc/transcoding) support:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ object Http4sClientLauncher extends IOApp.Simple {
.registerType[conformance.UnaryRequest]
.registerType[conformance.IdempotentUnaryRequest]
)
.pipeIf(spec.codec.isProto)(_.enableBinaryFormat())
.build(baseUri)

resp <- runTestCase(channel, spec).toResource
Expand Down