juspay/hyperswitch
在 GitHub 查看refactor(connector) : Move connector specific functions in utils
Open
#7,926 创建于 2025年4月29日
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 :
- If the code seems it could be reused make it generic.