[protobuf] Re: Issue 332 in protobuf: Allow for default values that are marked set

2011-11-07 Thread protobuf
Updates: Status: WontFix Comment #4 on issue 332 by liuj...@google.com: Allow for default values that are marked set http://code.google.com/p/protobuf/issues/detail?id=332 Internally we have a utility that sets required fields to their default values using the reflection API. The

[protobuf] Re: Issue 332 in protobuf: Allow for default values that are marked set

2011-09-26 Thread protobuf
Comment #3 on issue 332 by ryan.br...@themoox.net: Allow for default values that are marked set http://code.google.com/p/protobuf/issues/detail?id=332 Sorry, I should have specified what language I'm working in. I'm using C++ for this (2.4.0a), so it's related to code generated from

[protobuf] Re: Issue 332 in protobuf: Allow for default values that are marked set

2011-09-25 Thread protobuf
Comment #1 on issue 332 by ryan.br...@themoox.net: Allow for default values that are marked set http://code.google.com/p/protobuf/issues/detail?id=332 Apologies for this being marked a defect; I was unable to determine how to make it as an enhancement. -- You received this message

[protobuf] Re: Issue 332 in protobuf: Allow for default values that are marked set

2011-09-25 Thread protobuf
Comment #2 on issue 332 by marc.gravell: Allow for default values that are marked set http://code.google.com/p/protobuf/issues/detail?id=332 If I understand the issue correctly, then in v2, this is resolved via the `TypeModel` instance's `UseImplicitZeroDefaults` - so typically, adding: