-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: unknown fields are preserved (#160)
* test: unknown fields are preserved Consider the following: ```proto message Old { string name = 1; } message New { string name = 1; string path = 2; } ``` We can think of `New` as being a minor version release update of `Old`. If a client using the older version receives a message over the wire from a server using the newer version, it is desirable that any new, unknown fields are preserved. These can store context the server needs, which is important in get/modify/set loops.
- Loading branch information
1 parent
b12971a
commit fef7983
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters