gRFC: L110 C# handling of null reference types in code generation

343 views
Skip to first unread message

Tony Newell

unread,
Oct 24, 2023, 5:21:01 AM10/24/23
to grpc.io
I have published a gRPC to discuss the handling of C# null reference types in the code generation in the protocol buffers compiler, the C# gRPC compiler plugin, and support in Grpc.Tools.


Comment welcome.

Stefán Jökull Sigurðarson

unread,
Jan 16, 2024, 2:49:48 PM1/16/24
to grpc.io
I'd love to see this make it in. Using gRPC and ProtoBuf messages in a new C# application today makes it very apparent that the type annotations are missing.

Let's get rid of those NullRef Exceptions and start annotating the generated code.

Is there a way to put this somehow behind an experimental/feature flag during code generation while this gets some field testing?

regards,
Stefán Jökull
Reply all
Reply to author
Forward
0 new messages