mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 11:24:45 +08:00
refactor: Move trait ConnectorIntegration to crate hyperswitch_interfaces (#4946)
Co-authored-by: Deepanshu Bansal <deepanshu.bansal@Deepanshu-Bansal-K3PYF02LFW.local>
This commit is contained in:
@ -52,6 +52,7 @@ pub fn validate_config(input: syn::DeriveInput) -> Result<proc_macro2::TokenStre
|
||||
|
||||
let expansion = quote::quote! {
|
||||
impl #struct_name {
|
||||
/// Validates that the configuration provided for the `parent_field` does not contain empty or default values
|
||||
pub fn validate(&self, parent_field: &str) -> Result<(), ApplicationError> {
|
||||
#(#function_expansions)*
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user