The easiest way to find out is just to try. :)  Both of these examples 
compile fine with proto3.

On Monday, March 21, 2016 at 10:43:23 AM UTC-7, Zachary Deretsky wrote:
>
> Is recursion handled, for example:
>
> message Node {
>         string value = 1;
>         Node parent = 2;
>         message Child {
>                  string key = 1;
>                  Node child = 2;
>         }
>         repeated Child children = 3;
> }
>
>
> or
>
> message Node {
>         string value = 1;
>         Node parent = 2;
>         map<string, Node> children = 3;
> }
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to