File tree Expand file tree Collapse file tree 5 files changed +22
-26
lines changed Expand file tree Collapse file tree 5 files changed +22
-26
lines changed Original file line number Diff line number Diff line change @@ -136,10 +136,6 @@ tool (
136136 github.com/magefile/mage/mage
137137 // vulncheck always uses the current directory's go.mod.
138138 golang.org/x/vuln/cmd/govulncheck
139- // the following are for protobuf generation
140- google.golang.org/protobuf/cmd/protoc-gen-go
141- google.golang.org/grpc/cmd/protoc-gen-go-grpc
142- github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto
143139)
144140
145141require (
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ require (
88 github.com/ecordell/optgen v0.0.9
99 github.com/envoyproxy/protoc-gen-validate v1.0.4
1010 github.com/magefile/mage v1.15.0
11- github.com/planetscale/vtprotobuf v0.6.1-0.20240409071808-615f978279ca
11+ github.com/planetscale/vtprotobuf v0.6.1-0.20240917153116-6f2963f01587
1212 golang.org/x/tools v0.22.0
1313 google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0
1414 google.golang.org/protobuf v1.34.2
Original file line number Diff line number Diff line change @@ -291,8 +291,8 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE
291291github.com/pkg/profile v1.7.0 h1:hnbDkaNWPCLMO9wGLdBFTIZvzDrDfBM2072E1S9gJkA =
292292github.com/pkg/profile v1.7.0 /go.mod h1:8Uer0jas47ZQMJ7VD+OHknK4YDY07LPUC6dEvqDjvNo =
293293github.com/pkg/sftp v1.13.1 /go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg =
294- github.com/planetscale/vtprotobuf v0.6.1-0.20240409071808-615f978279ca h1:ujRGEVWJEoaxQ+8+HMl8YEpGaDAgohgZxJ5S+d2TTFQ =
295- github.com/planetscale/vtprotobuf v0.6.1-0.20240409071808-615f978279ca /go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8 =
294+ github.com/planetscale/vtprotobuf v0.6.1-0.20240917153116-6f2963f01587 h1:xzZOeCMQLA/W198ZkdVdt4EKFKJtS26B773zNU377ZY =
295+ github.com/planetscale/vtprotobuf v0.6.1-0.20240917153116-6f2963f01587 /go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8 =
296296github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
297297github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
298298github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 /go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA =
Original file line number Diff line number Diff line change @@ -437,9 +437,9 @@ message UsersetRewrite {
437437 oneof rewrite_operation {
438438 option (buf.validate.oneof ).required = true ;
439439
440- SetOperation union = 1 [ (buf.validate .field ).required = true ] ;
441- SetOperation intersection = 2 [ (buf.validate .field ).required = true ] ;
442- SetOperation exclusion = 3 [ (buf.validate .field ).required = true ] ;
440+ SetOperation union = 1 ;
441+ SetOperation intersection = 2 ;
442+ SetOperation exclusion = 3 ;
443443 }
444444
445445 SourcePosition source_position = 4 ;
@@ -454,10 +454,10 @@ message SetOperation {
454454 option (buf.validate.oneof ).required = true ;
455455
456456 This _this = 1 ;
457- ComputedUserset computed_userset = 2 [ (buf.validate .field ).required = true ] ;
458- TupleToUserset tuple_to_userset = 3 [ (buf.validate .field ).required = true ] ;
459- UsersetRewrite userset_rewrite = 4 [ (buf.validate .field ).required = true ] ;
460- FunctionedTupleToUserset functioned_tuple_to_userset = 8 [ (buf.validate .field ).required = true ] ;
457+ ComputedUserset computed_userset = 2 ;
458+ TupleToUserset tuple_to_userset = 3 ;
459+ UsersetRewrite userset_rewrite = 4 ;
460+ FunctionedTupleToUserset functioned_tuple_to_userset = 8 ;
461461 Nil _nil = 6 ;
462462 }
463463
You can’t perform that action at this time.
0 commit comments