mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(core): Add uas framework support (#6743)
Co-authored-by: sai-harsha-vardhan <harsha111hero@gmail.com>
This commit is contained in:
@ -44,7 +44,7 @@ impl Derives {
|
||||
let req_type = Conversion::get_req_type(self);
|
||||
quote! {
|
||||
#[automatically_derived]
|
||||
impl<F:Send+Clone> Operation<F,#req_type> for #struct_name {
|
||||
impl<F:Send+Clone+Sync> Operation<F,#req_type> for #struct_name {
|
||||
type Data = PaymentData<F>;
|
||||
#(#fns)*
|
||||
}
|
||||
@ -59,7 +59,7 @@ impl Derives {
|
||||
let req_type = Conversion::get_req_type(self);
|
||||
quote! {
|
||||
#[automatically_derived]
|
||||
impl<F:Send+Clone> Operation<F,#req_type> for &#struct_name {
|
||||
impl<F:Send+Clone+Sync> Operation<F,#req_type> for &#struct_name {
|
||||
type Data = PaymentData<F>;
|
||||
#(#ref_fns)*
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user