Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(router): refactor relay flow addressing comments of /relay feature pr #6954

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ShankarSinghC
Copy link
Contributor

@ShankarSinghC ShankarSinghC commented Dec 27, 2024

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

relay feature pr #6879

This PR refactors the relay flow to address the comments from the relay feature PR

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

@ShankarSinghC ShankarSinghC added A-core Area: Core flows C-refactor Category: Refactor labels Dec 27, 2024
@ShankarSinghC ShankarSinghC self-assigned this Dec 27, 2024
@ShankarSinghC ShankarSinghC requested review from a team as code owners December 27, 2024 17:52
Copy link

semanticdiff-com bot commented Dec 27, 2024

Review changes with  SemanticDiff

Changed Files
File Status
  crates/hyperswitch_domain_models/src/relay.rs  0% smaller
  crates/router/src/core/relay/utils.rs  0% smaller

@@ -32,7 +32,7 @@ pub async fn construct_relay_refund_router_data<'a, F>(
let webhook_url = Some(payments::helpers::create_webhook_url(
&state.base_url.clone(),
merchant_id,
connector_name,
connector_account.merchant_connector_id.get_string_repr(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have the function itself accept &MerchantConnectorAccountId? Update the usages of the function elsewhere as well.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reference, the same change had been taken up in #6631, but that PR seems to have gone stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-core Area: Core flows C-refactor Category: Refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants