-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
feat(core-flows, types): calculated shipping in RMA flows #11533
base: develop
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
7 Skipped Deployments
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could I get you to describe how we have achieved this in the PR description?
/** | ||
* The return details - if present, the return shipping needs to be calculated. | ||
*/ | ||
orderReturn?: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo: Let's clean up this entire type while we're at it. The mixing of the casing is triggering 😄
I think this needs to be camel_cased. Please deprecate (and add a todo) the ones that are changed, so we avoid breaking the type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I refactored the type. The type is only extended with new properties so there shouldn't be a breaking change.
What
How
fetchShippingOptionForOrderWorkflow
maybeRefreshShippingMethodsWorkflow
refresh(Return|Claim|Exchange)ShippingWorkflow
maybeRefreshShippingMethodsWorkflow
calculated.rma.mp4
CLOSES CMRC-806