Skip to content

feat: add gRPC streaming example and split proto codegen into separate module#47

Open
thomaslaich wants to merge 2 commits into
mainfrom
feat/grpc-streaming
Open

feat: add gRPC streaming example and split proto codegen into separate module#47
thomaslaich wants to merge 2 commits into
mainfrom
feat/grpc-streaming

Conversation

@thomaslaich
Copy link
Copy Markdown
Owner

  • Add smithy-proto-codegen Gradle module with Smithy traits for server/client
    streaming (nsmithy.proto#grpcServerStream, nsmithy.proto#grpcClientStream)
  • Move ProtoGenerator from smithy-csharp-codegen to smithy-proto-codegen
  • Fix GrpcConversions to handle @protoNumType("UNSIGNED"/"FIXED") casts
    (int↔uint, long↔ulong) including nullable member handling
  • Refactor gRPC example (examples/grpc/) with rich library.smithy model
  • Add streaming example (examples/streaming/) with server/client/bidirectional
    gRPC streaming operations
  • Add clean to just codegen recipe to prevent stale JAR from stale incremental
    build artifacts
  • Fix MSBuild two-pass build for gRPC examples

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

thomaslaich and others added 2 commits June 2, 2026 14:42
…e module

- Add `smithy-proto-codegen` Gradle module with Smithy traits for server/client
  streaming (`nsmithy.proto#grpcServerStream`, `nsmithy.proto#grpcClientStream`)
- Move `ProtoGenerator` from `smithy-csharp-codegen` to `smithy-proto-codegen`
- Fix `GrpcConversions` to handle `@protoNumType("UNSIGNED"/"FIXED")` casts
  (int↔uint, long↔ulong) including nullable member handling
- Refactor gRPC example (`examples/grpc/`) with rich library.smithy model
- Add streaming example (`examples/streaming/`) with server/client/bidirectional
  gRPC streaming operations
- Add `clean` to `just codegen` recipe to prevent stale JAR from stale incremental
  build artifacts
- Fix MSBuild two-pass build for gRPC examples

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@thomaslaich thomaslaich force-pushed the feat/grpc-streaming branch from 8f814b2 to 5cda33f Compare June 2, 2026 12:51
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.

1 participant