Skip to content

Commit

Permalink
derive Serialize and Deserialize on grpc requests/responses
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt authored and cdecker committed Apr 26, 2024
1 parent 7270879 commit 758464c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/gl-client/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ fn main() {
let builder = tonic_build::configure();

builder
.type_attribute(".", "#[derive(serde::Serialize,serde::Deserialize)]")
.protoc_arg("--experimental_allow_proto3_optional")
.compile(
&[
Expand Down

0 comments on commit 758464c

Please sign in to comment.