chore: derive every type with serde (#206)
This commit is contained in:
@@ -22,10 +22,7 @@ fn main() {
|
||||
|
||||
tonic_build::configure()
|
||||
.file_descriptor_set_path(out_dir.join("greptime_grpc_desc.bin"))
|
||||
.enum_attribute(
|
||||
"SemanticType",
|
||||
"#[derive(::serde::Serialize, ::serde::Deserialize)]",
|
||||
)
|
||||
.type_attribute(".", "#[derive(::serde::Serialize, ::serde::Deserialize)]")
|
||||
.enum_attribute(
|
||||
"region.RegionRequest.body",
|
||||
"#[derive(strum_macros::AsRefStr)]",
|
||||
|
||||
Reference in New Issue
Block a user