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: 

https://developers.google.com/protocol-buffers/docs/proto#options

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.

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/protobuf/-/XgKSuaJlSnIJ.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to