Skip to content

Commit afde7aa

Browse files
authored
Merge pull request #271 from Logofile/sync
Documentation change
2 parents c5d2eda + 86ffc43 commit afde7aa

File tree

19 files changed

+770
-351
lines changed

19 files changed

+770
-351
lines changed

content/design-decisions/nullable-getters-setters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ can't have defaults, there's no functional problem with this.
3030
As an example, consider this `.proto` file:
3131

3232
```proto
33-
message Msg { optional Child child = 1; }
34-
message Child { optional Grandchild grandchild = 1; }
35-
message Grandchild { optional int32 foo = 1 [default = 72]; }
33+
message Msg { Child child = 1; }
34+
message Child { Grandchild grandchild = 1; }
35+
message Grandchild { int32 foo = 1 [default = 72]; }
3636
```
3737

3838
and corresponding Kotlin getters:

0 commit comments

Comments
 (0)