Skip to content

Commit

Permalink
feat: simpler JSON in emulator UI
Browse files Browse the repository at this point in the history
  • Loading branch information
pavadeli committed Dec 13, 2024
1 parent 72a6908 commit ea1d844
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/googleapis/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ fn main() {
"#[derive(serde::Serialize)]",
)
.message_attribute(".google.firestore.v1.Value", "#[derive(serde::Serialize)]")
.message_attribute(".google.firestore.v1.Value", "#[serde(transparent)]")
.enum_attribute(".google.firestore.v1.Value", "#[derive(serde::Serialize)]")
.enum_attribute(".google.firestore.v1.Value", "#[serde(untagged)]")
.message_attribute(
".google.firestore.v1.ArrayValue",
"#[derive(serde::Serialize)]",
Expand All @@ -21,7 +24,6 @@ fn main() {
".google.firestore.v1.MapValue",
"#[derive(serde::Serialize)]",
)
.enum_attribute(".google.firestore.v1.Value", "#[derive(serde::Serialize)]")
.compile(
&["include/google/firestore/v1/firestore.proto"],
&["include"],
Expand Down

0 comments on commit ea1d844

Please sign in to comment.