Skip to content

Commit

Permalink
Unify proto options and do not generate unused fields (#1275)
Browse files Browse the repository at this point in the history
* Remove unnecessary file

Signed-off-by: Neil Shen <[email protected]>

* Unify proto options

* Do not generate XXX_ fields for Go protobuf structs
* Enable lite runtime for Rust protobuf files

Signed-off-by: Neil Shen <[email protected]>

* update go files

Signed-off-by: Neil Shen <[email protected]>

* update proto lock file

Signed-off-by: Neil Shen <[email protected]>

---------

Signed-off-by: Neil Shen <[email protected]>
  • Loading branch information
overvenus authored Nov 13, 2024
1 parent 4a3e17f commit e1fa7ea
Show file tree
Hide file tree
Showing 70 changed files with 5,724 additions and 15,440 deletions.
8 changes: 8 additions & 0 deletions include/gogoproto/gogo.proto
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ extend google.protobuf.FileOptions {

optional bool goproto_registration = 63032;
optional bool messagename_all = 63033;

optional bool goproto_sizecache_all = 63034;
optional bool goproto_unkeyed_all = 63035;
}

extend google.protobuf.MessageOptions {
Expand Down Expand Up @@ -118,6 +121,9 @@ extend google.protobuf.MessageOptions {
optional bool typedecl = 64030;

optional bool messagename = 64033;

optional bool goproto_sizecache = 64034;
optional bool goproto_unkeyed = 64035;
}

extend google.protobuf.FieldOptions {
Expand All @@ -133,4 +139,6 @@ extend google.protobuf.FieldOptions {

optional bool stdtime = 65010;
optional bool stdduration = 65011;
optional bool wktpointer = 65012;

}
127 changes: 42 additions & 85 deletions pkg/autoid/autoid.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e1fa7ea

Please sign in to comment.