File tree 3 files changed +14
-15
lines changed
3 files changed +14
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " double-nested" ,
3
+ "parent" : {
4
+ "child" : [{"foo" : " hello" }],
5
+ "enumChild" : [" A" ],
6
+ "rootParentChild" : [{"a" : " hello" }],
7
+ "bar" : true
8
+ }
9
+ }
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ syntax = "proto3";
2
2
3
3
message Test {
4
4
message Parent {
5
- message RootParentChild {
5
+ // Test if name of enclosing message is a prefix name of enclosed message
6
+ message TestParentChild {
6
7
string a = 1 ;
7
8
}
8
9
enum EnumChild {
@@ -14,10 +15,10 @@ message Test {
14
15
}
15
16
reserved 1 ;
16
17
repeated Child child = 2 ;
17
- repeated EnumChild enum_child = 3 ;
18
- repeated RootParentChild root_parent_child = 4 ;
18
+ repeated EnumChild enumChild = 3 ;
19
+ repeated TestParentChild rootParentChild = 4 ;
19
20
bool bar = 5 ;
20
21
}
21
22
string name = 1 ;
22
- Parent parent = 4 ;
23
+ Parent parent = 2 ;
23
24
}
You can’t perform that action at this time.
0 commit comments