juspay/hyperswitch

refactor(connector) : Move connector specific functions in utils

Open

#7,926 创建于 2025年4月29日

在 GitHub 查看
 (4 评论) (0 反应) (1 负责人)Rust (4,676 fork)batch import
A-connector-integrationC-refactorE-easygood first issue

仓库指标

Star
 (42,690 star)
PR 合并指标
 (平均合并 6天 22小时) (30 天内合并 213 个 PR)

描述

There are connector specific function(s) in crates/hyperswitch_connectors/src/utils.rs , need to move it into specific connector code (or make it generic!)

🔨 eg. validate_currency which is not a common function and used only in crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs .

Checkpoints :

  1. If the code seems it could be reused make it generic.

贡献者指南