Skip to content

fix(csharp): Improve gRPC code generation#13520

Merged
amckinney merged 6 commits intomainfrom
amckinney/csharp/grpc
Mar 13, 2026
Merged

fix(csharp): Improve gRPC code generation#13520
amckinney merged 6 commits intomainfrom
amckinney/csharp/grpc

Conversation

@amckinney
Copy link
Contributor

Description

This revisits the gRPC C# code generation and updates it to match the latest changes in the C# generator. This includes:

  1. Updated enum representation and .ToProto + .FromProto mappers.
  2. Fix an issue with rendering the gRPC client reference.
  3. Update protoc-gen-openapi to unwrap synthetic oneof types (re: https://github.com/fern-api/protoc-gen-openapi/releases/tag/v0.1.7)

This also updates seed so that we preserve the S3 upload/download semantics required for gRPC SDKs. With this, we include the input proto specs alongside the generated C# SDK so that we can lean on the .NET runtime generation required by the gRPC library.

@github-actions
Copy link
Contributor

🌱 Seed Test Selector

Select languages to run seed tests for:

  • Python
  • TypeScript
  • Java
  • Go
  • Ruby
  • C#
  • PHP
  • Swift
  • Rust
  • OpenAPI
  • Postman

How to use: Click the ⋯ menu above → "Edit" → check the boxes you want → click "Update comment". Tests will run automatically and snapshots will be committed to this PR.

@amckinney amckinney merged commit 27ac417 into main Mar 13, 2026
277 checks passed
@amckinney amckinney deleted the amckinney/csharp/grpc branch March 13, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants