Repeated fields in Custom Options

71 views
Skip to first unread message

Jamie McCrindle

unread,
Apr 23, 2012, 7:11:44 AM4/23/12
to prot...@googlegroups.com
Hi,

I was going to ask whether repeated fields are allowed in custom options but I just tried it instead and the result is:

Option field "(column).name" is repeated. Repeated options are not supported.

I decided to write this up just in case someone from the future has the same question.

Note, though, that at the same time, I think I discovered that the documents on: 


might be wrong, specifically, I think this line:

optional int32 a = 1 [(foo_options.opt1) = 123, (foo_options.opt2) = "baz"];

should be

optional int32 a = 1 [(foo_options).opt1 = 123, (foo_options).opt2 = "baz"];

regards,
Jamie.
Reply all
Reply to author
Forward
0 new messages