serialization of the gRPC JSONB now fully works for the validation
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user