farsounder / protobuf-matlab

Automatically exported from code.google.com/p/protobuf-matlab
Other
26 stars 13 forks source link

Add example for complex attributes and repeated fields #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
That's fine. Thanks for helping us out, very helpful.

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

GoogleCodeExporter commented 9 years ago
Closing this issue.

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