This repository was archived by the owner on Feb 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add proto3 specific deserialization that requires fewer SRTP constrai…
…nts (#85) * Add proto3 specific deserialization that requires fewer SRTP constraints * Refactor to share as much as possible between proto2/3 deserialization * Fix tests to refere to proto2 on deserialize * Removed UnknownFields from the xmldoc * A property named UnknownFields is not required by SRTP constraints * Use the 0 field mapping for unknown fields if present, no action if this is missing. - This gives the code generator the choice of generating the 0 field maping to a property, therefore adhering to the proto3.5 chanages to make implementation preserve unknown fields on deserialisation. * Add unit tests for proto3 * Remove unecessary RequiredFields * Add some documentation about proto3 definitions * preserve any previous unknown fields on re-serialization
- Loading branch information
Showing
5 changed files
with
424 additions
and
150 deletions.
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
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
Oops, something went wrong.