Skip to content

Commit 49c7175

Browse files
committed
Add ability to always print default values when encoding to json
1 parent 29c253f commit 49c7175

File tree

55 files changed

+15747
-11665
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+15747
-11665
lines changed

FuzzTesting/Sources/FuzzCommon/fuzz_testing.pb.swift

Lines changed: 221 additions & 220 deletions
Large diffs are not rendered by default.

Protos/SwiftProtobufTests/generated_swift_names_enum_cases.proto

Lines changed: 951 additions & 948 deletions
Large diffs are not rendered by default.

Protos/SwiftProtobufTests/generated_swift_names_enums.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ message GeneratedSwiftReservedEnums {
1010
enum allowAlias { NONE_allowAlias = 0; }
1111
enum alwaysPrintEnumsAsInts { NONE_alwaysPrintEnumsAsInts = 0; }
1212
enum alwaysPrintInt64sAsNumbers { NONE_alwaysPrintInt64sAsNumbers = 0; }
13+
enum alwaysPrintPrimitiveFields { NONE_alwaysPrintPrimitiveFields = 0; }
14+
enum alwaysVisitPrimitiveFields { NONE_alwaysVisitPrimitiveFields = 0; }
1315
enum annotation { NONE_annotation = 0; }
1416
enum any { NONE_any = 0; }
1517
enum AnyExtensionField { NONE_AnyExtensionField = 0; }
@@ -834,6 +836,7 @@ message GeneratedSwiftReservedEnums {
834836
enum totalArrayDepth { NONE_totalArrayDepth = 0; }
835837
enum totalSize { NONE_totalSize = 0; }
836838
enum trailingComments { NONE_trailingComments = 0; }
839+
enum traversalOptions { NONE_traversalOptions = 0; }
837840
enum traverse { NONE_traverse = 0; }
838841
enum true { NONE_true = 0; }
839842
enum try { NONE_try = 0; }

0 commit comments

Comments
 (0)