Skip to content

Commit

Permalink
Merge branch 'main' into trinity/prevent-merge-after-retention
Browse files Browse the repository at this point in the history
  • Loading branch information
trinity-1686a authored Nov 8, 2024
2 parents 4ab5ffd + d4ad40d commit c26fa63
Show file tree
Hide file tree
Showing 15 changed files with 103 additions and 100 deletions.
7 changes: 5 additions & 2 deletions quickwit/quickwit-proto/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {

tonic_build::configure()
.enum_attribute(".", "#[serde(rename_all=\"snake_case\")]")
.type_attribute(".", "#[derive(Serialize, Deserialize, utoipa::ToSchema)]")
.type_attribute(
".",
"#[derive(serde::Serialize, serde::Deserialize, utoipa::ToSchema)]",
)
.type_attribute("PartialHit", "#[derive(Eq, Hash)]")
.type_attribute("PartialHit.sort_value", "#[derive(Copy)]")
.type_attribute("SearchRequest", "#[derive(Eq, Hash)]")
Expand Down Expand Up @@ -214,7 +217,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {

let protos = find_protos("protos/third-party/opentelemetry");
tonic_build::configure()
.type_attribute(".", "#[derive(Serialize, Deserialize)]")
.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
.type_attribute("StatusCode", r#"#[serde(rename_all = "snake_case")]"#)
.type_attribute(
"ExportLogsServiceResponse",
Expand Down
1 change: 1 addition & 0 deletions quickwit/quickwit-proto/src/cluster/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

use quickwit_common::rate_limited_error;
use quickwit_common::tower::MakeLoadShedError;
use serde::{Deserialize, Serialize};
use thiserror;

use crate::error::{ServiceError, ServiceErrorCode};
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c26fa63

Please sign in to comment.