feat(core): implement NameType for name validation (#6734)

This commit is contained in:
Sakil Mostak
2025-04-01 14:58:54 +05:30
committed by GitHub
parent 1a7804ea89
commit 1100dcc605
72 changed files with 734 additions and 364 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<Secret<String>>,
pub card_holder_name: Option<common_utils::types::NameType>,
}
#[derive(Eq, PartialEq, Clone, Debug, Deserialize, Serialize, ToSchema)]