aliasing when changing one field doesnt drop others

This commit is contained in:
Filipriec
2026-09-01 10:50:39 +02:00
parent 7263003684
commit 09dc594afe
7 changed files with 20 additions and 1 deletions

Binary file not shown.

View File

@@ -159,6 +159,12 @@ pub struct UpdateFieldValidationRequest {
pub data_key: ::prost::alloc::string::String,
#[prost(message, optional, tag = "4")]
pub validation: ::core::option::Option<FieldValidation>,
/// Omitted keeps the legacy full-replacement behavior. Otherwise, only the
/// selected FieldValidation properties are changed; selecting an absent
/// message property deliberately removes it.
#[prost(message, optional, tag = "5")]
#[serde(skip)]
pub update_mask: ::core::option::Option<::prost_types::FieldMask>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]