C#C
C#3y ago
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.
Was this page helpful?