Skip to content

Commit e340950

Browse files
committed
Use BSR for all proto generation plugins
1 parent 4853f39 commit e340950

File tree

16 files changed

+134
-54
lines changed

16 files changed

+134
-54
lines changed

buf.gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
version: v1
55
plugins:
6-
- plugin: go
6+
- plugin: buf.build/protocolbuffers/go
77
out: .
88
opt:
99
- paths=source_relative
10-
- plugin: go-grpc
10+
- plugin: buf.build/grpc/go:v1.3.0
1111
out: .
1212
opt:
1313
- paths=source_relative

examples/bidirectional/buf.gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
version: v1
55
plugins:
6-
- plugin: go
6+
- plugin: buf.build/protocolbuffers/go
77
out: .
88
opt:
99
- paths=source_relative
10-
- plugin: go-grpc
10+
- plugin: buf.build/grpc/go:v1.3.0
1111
out: .
1212
opt:
1313
- paths=source_relative

examples/bidirectional/proto/kv.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/bidirectional/proto/kv_grpc.pb.go

Lines changed: 22 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/grpc/buf.gen.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33

44
version: v1
55
plugins:
6-
- plugin: go
6+
- plugin: buf.build/protocolbuffers/go
77
out: .
88
opt:
99
- paths=source_relative
10-
- plugin: go-grpc
10+
- plugin: buf.build/grpc/go:v1.3.0
1111
out: .
1212
opt:
1313
- paths=source_relative
1414
- require_unimplemented_servers=false
15-
- plugin: python
15+
- plugin: buf.build/protocolbuffers/python:v24.4
1616
out: plugin-python
1717
- plugin: buf.build/grpc/python:v1.58.1
1818
out: plugin-python

examples/grpc/plugin-python/proto/kv_pb2.py

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/grpc/proto/kv.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/grpc/proto/kv_grpc.pb.go

Lines changed: 16 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/plugin/grpc_broker.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/plugin/grpc_broker_grpc.pb.go

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)