Skip to content

Commit

Permalink
fix: add proto build flag to allow option proto fields
Browse files Browse the repository at this point in the history
Signed-off-by: Kate Goldenring <[email protected]>
  • Loading branch information
kate-goldenring committed Jul 15, 2024
1 parent 3175bb9 commit 3f02e7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions discovery-utils/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
fn main() {
tonic_build::configure()
.out_dir("./src/discovery")
.protoc_arg("--experimental_allow_proto3_optional")
.compile(&["proto/discovery.proto"], &["proto"])
.expect("failed to compile protos");
}

0 comments on commit 3f02e7b

Please sign in to comment.