Skip to content

Add select shipping rate mutation#106

Merged
AlessioRocco merged 2 commits intomasterfrom
add-select-shipping-rate-mutation
May 15, 2020
Merged

Add select shipping rate mutation#106
AlessioRocco merged 2 commits intomasterfrom
add-select-shipping-rate-mutation

Conversation

@AlessioRocco
Copy link
Copy Markdown
Contributor

@AlessioRocco AlessioRocco commented Apr 24, 2020

Add mutation to select the checkout shipping rate, it accepts the shipping rate id as input and sets it for the current order.
It raises a CanCan::AccessDenied exception in case the current ability can't update the current order.

@AlessioRocco AlessioRocco force-pushed the add-select-shipping-rate-mutation branch from 00b06f7 to 0a598a0 Compare April 24, 2020 14:36
@AlessioRocco AlessioRocco self-assigned this May 8, 2020
@AlessioRocco AlessioRocco force-pushed the add-select-shipping-rate-mutation branch from 0a598a0 to 6e12046 Compare May 8, 2020 06:49
@AlessioRocco AlessioRocco force-pushed the add-select-shipping-rate-mutation branch from 6e12046 to 27db217 Compare May 15, 2020 10:21
@AlessioRocco AlessioRocco marked this pull request as ready for review May 15, 2020 10:29
@AlessioRocco AlessioRocco force-pushed the add-select-shipping-rate-mutation branch 2 times, most recently from da86d27 to 86e9035 Compare May 15, 2020 10:43
The mutation accepts the shipping rate id as input and sets it for the
current order.

It raises a CanCan::AccessDenied exception in case the current ability
can't update the current order.
Using command "bundle exec rake schema:idl"
@AlessioRocco AlessioRocco force-pushed the add-select-shipping-rate-mutation branch from 86e9035 to 876a12d Compare May 15, 2020 10:46
Copy link
Copy Markdown
Contributor

@ChristianRimondi ChristianRimondi left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Copy Markdown
Contributor

@rainerdema rainerdema left a comment

Choose a reason for hiding this comment

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

🔝

@AlessioRocco AlessioRocco merged commit 1d1739a into master May 15, 2020
@AlessioRocco AlessioRocco deleted the add-select-shipping-rate-mutation branch May 15, 2020 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants