© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
balloman

❔ Optional does not work with C# protobufs

I have a proto buf with the timestamp field being marked as optional, but it doesn't seem to do anything. I'm not sure if this is a bug or intended of the proto buf implementation. It's also not marked as nullable, so I have to do a null check to see if it exists, which feels very awkward.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How does managed C++ work for interoping with C# code?
C#CC# / help
2y ago
✅ `with` expression does not work with `ValueTuple`
C#CC# / help
4y ago
❔ How does C#'s inclusion system work?
C#CC# / help
3y ago
✅ Downloading file with HttpClient does not work
C#CC# / help
14mo ago