revert: implement NameType for name validation (#6734) (#7717)

This commit is contained in:
Sakil Mostak
2025-04-03 18:49:08 +05:30
committed by GitHub
parent b25f071a60
commit d892ee7af0
72 changed files with 364 additions and 734 deletions

View File

@ -254,7 +254,7 @@ pub struct CardPayout {
/// The card holder's name
#[schema(value_type = String, example = "John Doe")]
pub card_holder_name: Option<common_utils::types::NameType>,
pub card_holder_name: Option<Secret<String>>,
}
#[derive(Eq, PartialEq, Clone, Debug, Deserialize, Serialize, ToSchema)]