Skip to content

Commit

Permalink
Propagate oneofs_non_exhaustive value
Browse files Browse the repository at this point in the history
When constructing Customize instances for fields and inner messages,
propagate the oneofs_non_exhaustive value.
  • Loading branch information
akonradi-signal committed Dec 2, 2024
1 parent edcf973 commit 6015b8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions protobuf-codegen/src/customize/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@ impl Customize {
if let Some(v) = btreemap {
self.btreemap = Some(v);
}
if let Some(v) = oneofs_non_exhaustive {
self.oneofs_non_exhaustive = Some(v);
}
}

/// Update unset fields of self with fields from other customize
Expand Down

0 comments on commit 6015b8d

Please sign in to comment.