mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +08:00
refactor(customer): refactor customer db with storage utils and move trait to domain_models and impl to storage_model (#7538)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -96,7 +96,7 @@ pub trait StorageInterface:
|
||||
+ blocklist_lookup::BlocklistLookupInterface
|
||||
+ configs::ConfigInterface
|
||||
+ capture::CaptureInterface
|
||||
+ customers::CustomerInterface
|
||||
+ customers::CustomerInterface<Error = StorageError>
|
||||
+ dashboard_metadata::DashboardMetadataInterface
|
||||
+ dispute::DisputeInterface
|
||||
+ ephemeral_key::EphemeralKeyInterface
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -372,6 +372,7 @@ impl ConfigInterface for KafkaStore {
|
||||
|
||||
#[async_trait::async_trait]
|
||||
impl CustomerInterface for KafkaStore {
|
||||
type Error = errors::StorageError;
|
||||
#[cfg(all(any(feature = "v1", feature = "v2"), not(feature = "customer_v2")))]
|
||||
async fn delete_customer_by_customer_id_merchant_id(
|
||||
&self,
|
||||
|
||||
Reference in New Issue
Block a user