feat: add C# and Python generators and extend TS client generation#126
Closed
feat: add C# and Python generators and extend TS client generation#126
Conversation
🔍 CI Pipeline Status✅ Lint: success 📊 Coverage Report: Available in checks above |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #126 +/- ##
========================================
- Coverage 3.17% 2.99% -0.19%
========================================
Files 47 49 +2
Lines 7485 7941 +456
========================================
Hits 238 238
- Misses 7243 7699 +456
Partials 4 4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This was referenced Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds two new Sebuf generators and extends the TypeScript client generator for a few missing contract shapes.
Changes included here:
Why
Sebuf already supports Go and TypeScript generation, but it was missing generator coverage for C# and Python clients.
While integrating Sebuf into a downstream project, a few TS generator gaps also surfaced:
These changes make Sebuf usable across more client stacks without relying on repo-local custom generators.
What Changed
New generators
These generators emit contract/model code from the same proto inputs Sebuf already handles for other languages.
Shared contract traversal
This consolidates message/enum/service traversal logic so the new generators do not duplicate structure walking.
TypeScript generator improvements
These changes are covered by updated golden tests.
Tests
Added or updated tests for: