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

Move coupon code routes out of order resources #273

Conversation

gsmendoza
Copy link
Contributor

@gsmendoza gsmendoza commented Oct 12, 2022

Dependencies

This PR can be reviewed because it is no longer expecting additional changes. However, it is set to draft mode until #272 is merged.

Goal

As a SolidusStarterFrontend user, I want the coupon code routes moved out of the order resource routes so that we can remove the unnecessary order parameter from the coupon code URL helpers. The coupon codes controller already depends on the current order.

Background

This is part of an epic to refactor the order and checkout-related controller. Please see https://docs.google.com/spreadsheets/d/1mV2d4H4Ak9kEvc2bxKUpAv4hiz7FwTUE2t-SfOF7g8E/edit?usp=sharing for the list of changes.

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.

Goal
----

As a SolidusStarterFrontend user, I want the coupon code routes moved
out of the order resource routes because the coupon codes controller
already depends on the current order. As such, the coupon code routes do
not need to maintain an order parameter.
@gsmendoza gsmendoza force-pushed the gsmendoza/sol-476-move-coupon-code-routes-out-of-order branch from 69cd0dc to 2d0a3ca Compare October 12, 2022 09:21
@gsmendoza gsmendoza changed the base branch from main to gsmendoza/sol-477-make-checkout-routes-more-resource October 12, 2022 09:22
@gsmendoza gsmendoza marked this pull request as draft October 12, 2022 09:23
@gsmendoza gsmendoza mentioned this pull request Oct 12, 2022
1 task
@gsmendoza gsmendoza closed this Nov 15, 2022
@gsmendoza gsmendoza deleted the gsmendoza/sol-476-move-coupon-code-routes-out-of-order branch November 15, 2022 09:41
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.

1 participant