mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
refactor(merchant_id): create domain type for merchant_id (#5408)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
This commit is contained in:
@ -445,7 +445,8 @@ pub struct RoutingDictionaryRecord {
|
||||
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, ToSchema)]
|
||||
pub struct RoutingDictionary {
|
||||
pub merchant_id: String,
|
||||
#[schema(value_type = String)]
|
||||
pub merchant_id: common_utils::id_type::MerchantId,
|
||||
pub active_id: Option<String>,
|
||||
pub records: Vec<RoutingDictionaryRecord>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user