Skip to content

Commit

Permalink
Add ability to always print default values when encoding to json
Browse files Browse the repository at this point in the history
  • Loading branch information
mrabiciu committed Feb 22, 2024
1 parent 29c253f commit ba9708f
Show file tree
Hide file tree
Showing 55 changed files with 15,755 additions and 11,674 deletions.
441 changes: 221 additions & 220 deletions FuzzTesting/Sources/FuzzCommon/fuzz_testing.pb.swift

Large diffs are not rendered by default.

1,901 changes: 952 additions & 949 deletions Protos/SwiftProtobufTests/generated_swift_names_enum_cases.proto

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Protos/SwiftProtobufTests/generated_swift_names_enums.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ message GeneratedSwiftReservedEnums {
enum allCases { NONE_allCases = 0; }
enum allowAlias { NONE_allowAlias = 0; }
enum alwaysPrintEnumsAsInts { NONE_alwaysPrintEnumsAsInts = 0; }
enum alwaysPrintFieldsWithoutPresence { NONE_alwaysPrintFieldsWithoutPresence = 0; }
enum alwaysPrintInt64sAsNumbers { NONE_alwaysPrintInt64sAsNumbers = 0; }
enum alwaysVisitPrimitiveFields { NONE_alwaysVisitPrimitiveFields = 0; }
enum annotation { NONE_annotation = 0; }
enum any { NONE_any = 0; }
enum AnyExtensionField { NONE_AnyExtensionField = 0; }
Expand Down Expand Up @@ -834,6 +836,7 @@ message GeneratedSwiftReservedEnums {
enum totalArrayDepth { NONE_totalArrayDepth = 0; }
enum totalSize { NONE_totalSize = 0; }
enum trailingComments { NONE_trailingComments = 0; }
enum traversalOptions { NONE_traversalOptions = 0; }
enum traverse { NONE_traverse = 0; }
enum true { NONE_true = 0; }
enum try { NONE_try = 0; }
Expand Down
Loading

0 comments on commit ba9708f

Please sign in to comment.