Skip to content

Commit

Permalink
feat: impl ser/de for QueryContext
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu committed Dec 19, 2024
1 parent a875e97 commit 2e80832
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ fn main() {
"region.RegionRequest.body",
"#[derive(strum_macros::AsRefStr)]",
)
.message_attribute(
"QueryContext",
"#[derive(::serde::Serialize, ::serde::Deserialize)]",
)
.compile(
&[
"proto/greptime/v1/database.proto",
Expand Down

0 comments on commit 2e80832

Please sign in to comment.