serialization of the gRPC JSONB now fully works for the validation

This commit is contained in:
Priec
2025-09-14 11:24:27 +02:00
parent d88c239bf6
commit ceb560c658
14 changed files with 25 additions and 4290 deletions

View File

@@ -19,7 +19,7 @@ pub struct TableValidationResponse {
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FieldValidation {
/// MUST match your frontend FormState.data_key for the column
/// MUST match your frontend FormState.dataKey for the column
#[prost(string, tag = "1")]
pub data_key: ::prost::alloc::string::String,
/// Current: only CharacterLimits. More rules can be added later.
@@ -30,7 +30,6 @@ pub struct FieldValidation {
/// ExternalValidation external = 13;
/// CustomFormatter formatter = 14;
#[prost(message, optional, tag = "10")]
#[serde(alias = "character_limits")]
pub limits: ::core::option::Option<CharacterLimits>,
}
/// Character limit validation (Validation 1)