silentorbit/protobuf

Nullable value types

hultqvist opened this issue · 1 comments

The protocol buffer specification allow for fields to be optional. For the primitive types it is not possible to know whether they had a value of the default value or no value at all.

The idea is to add an option to the code generator "--nullable" that would use the c# nullable value types for optional fields.

Fixed in 7973af2