Re: [protobuf] optional vs required

2015-06-09 Thread Colin Deasy
On Tuesday, 9 June 2015 01:27:24 UTC+1, Feng Xiao wrote: On Mon, Jun 8, 2015 at 7:43 AM, Colin Deasy cde...@demonware.net javascript: wrote: Hey, When reading https://developers.google.com/protocol-buffers/docs/proto#simple I see a stark warning indicating that Required is Forever

[protobuf] optional vs required

2015-06-08 Thread Colin Deasy
Hey, When reading https://developers.google.com/protocol-buffers/docs/proto#simple I see a stark warning indicating that Required is Forever advocating the use of optional with additional application level validation routines. This is because if at some point a required field is no longer