mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	fix(router_derive): Use #[automatically_derived] for all derivations (#133)
				
					
				
			This commit is contained in:
		| @ -50,6 +50,7 @@ impl Derives { | ||||
|     ) -> TokenStream { | ||||
|         let req_type = Conversion::get_req_type(self); | ||||
|         quote! { | ||||
|             #[automatically_derived] | ||||
|             impl<F:Send+Clone> Operation<F,#req_type> for #struct_name { | ||||
|                 #(#fns)* | ||||
|             } | ||||
| @ -63,6 +64,7 @@ impl Derives { | ||||
|     ) -> TokenStream { | ||||
|         let req_type = Conversion::get_req_type(self); | ||||
|         quote! { | ||||
|             #[automatically_derived] | ||||
|             impl<F:Send+Clone> Operation<F,#req_type> for &#struct_name { | ||||
|                 #(#ref_fns)* | ||||
|             } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 kos-for-juspay
					kos-for-juspay