fix(ucs): adapt to optional mandate fields - #14312
pixincreate wants to merge 1 commit into
Conversation
Unified Connector Service marks its deprecated mandate fields optional. Point the unified-connector-service-* dependencies at the UCS branch carrying that change, and update the request builders. - Wrap MandateAmountData.amount and .currency in Some. - Fill fields added in the newer UCS proto: connector_order_id, setup recurring capture_method, and Apple Pay merchant_token_identifier. Switch the dependency to a release tag once the UCS change is released. Assisted-by: DeepSeek V4.1 Flash Signed-off-by: PiX <69745008+pixincreate@users.noreply.github.com>
Changed Files
|
|
[should-fix] This PR switches the |
|
[should-fix] |
|
[should-fix] The PR switches the |
|
[blocking] Replace the Affected: |
|
🚨 Mutable git dependency branch (file:line references below; inline comments could not be posted by this automation):
The |
|
🚨 Cargo.toml now points the UCS gRPC client and cards crates to a moving feature branch ( Pin these dependencies back to a stable tag (or a specific rev) before merging; a temporary branch pointer should not land in main. |
|
Branch references make the build non-reproducible and can pull in unexpected changes as the branch moves. Pin to a specific tag or commit SHA before merging, especially for the |
Type of Change
Description
Updates
unified-connector-service-clientandunified-connector-service-cardsto the UCS branch with the proto change, and adjusts the request builders:MandateAmountData.amountandMandateAmountData.currencyare now optional, so they are wrapped inSome.connector_order_id, setup recurringcapture_method, and Apple Paymerchant_token_identifier.Additional Changes
Motivation and Context
Five deprecated fields in the UCS proto were still required. Making them optional keeps consumers working when they omit the deprecated fields. UCS change: juspay/hyperswitch-prism#2329
The dependency points to the UCS branch until the change is released as a tag.
How did you test it?
cargo check -p routerandcargo clippy -p routerpass with the branch dependency.Checklist
cargo +nightly fmt --allcargo clippy