Skip to content

Commit 3f02e7b

Browse files
fix: add proto build flag to allow option proto fields
Signed-off-by: Kate Goldenring <[email protected]>
1 parent 3175bb9 commit 3f02e7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

discovery-utils/build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
fn main() {
22
tonic_build::configure()
33
.out_dir("./src/discovery")
4+
.protoc_arg("--experimental_allow_proto3_optional")
45
.compile(&["proto/discovery.proto"], &["proto"])
56
.expect("failed to compile protos");
67
}

0 commit comments

Comments
 (0)