farsounder/protobuf-matlab

Add example for complex attributes and repeated fields

Closed this issue · 3 comments

Thanks for resolving issues 1 and 2. The only issue remaining from those that I 
have spoken is that the use of repeated fields isn't clear. I gathered that the 
use of complex attributes is resolved.

If repeated is supported (of which I'm not sure yet), could you add an example 
of this in the 'bob' example? This would also immediately demonstrate how 
complex attributes are assigned.

My proposal is to use the same example as protobuf itself and give Bob a couple 
of phone numbers:

http://code.google.com/apis/protocolbuffers/docs/overview.html

Just in case that repeated is not supported, could you make this limitation 
clear on the front page?

Original issue reported on code.google.com by gtoons...@gmail.com on 22 Oct 2011 at 7:06

Repeated messages are supported. I've updated the home page with the example 
you suggested. Please let me know if I can clarify it further.

Original comment by evan.lap...@farsounder.com on 24 Oct 2011 at 8:17

That's fine. Thanks for helping us out, very helpful.

Original comment by gtoons...@gmail.com on 25 Oct 2011 at 11:56

Closing this issue.

Original comment by evan.lap...@gmail.com on 25 Oct 2011 at 2:45

  • Changed state: Verified