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

Rename subscription_order to installment_order #237

Open
aldesantis opened this issue Jul 16, 2021 · 4 comments
Open

Rename subscription_order to installment_order #237

aldesantis opened this issue Jul 16, 2021 · 4 comments

Comments

@aldesantis
Copy link
Member

No description provided.

@stale
Copy link

stale bot commented Sep 19, 2021

This issue has been automatically marked as stale because it has not had recent activity. It might be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 19, 2021
@chrean
Copy link
Contributor

chrean commented Dec 27, 2022

@aldesantis can you provide a bit of context on this? Seems like a fairly easy change that can help with code clarity, if I am not mistaken.

@nirebu
Copy link
Contributor

nirebu commented Dec 27, 2022

@chrean I can provide more context here.

The meaning of the spree_orders.subscription_order column is to tell apart orders generated from a subscription (subscription_order: true) from orders generating subscriptions (subscription_order: false). A little bit of a tongue twister, but renaming it to installment_order would be more accurate because it's way clearer what it means.

This however feels like a breaking change.

@stale stale bot removed the stale label Dec 27, 2022
@chrean
Copy link
Contributor

chrean commented Dec 27, 2022

Thanks for the context @nirebu : this confirms my feelings.
Probably not something we want to work on right away, but something to keep in mind for additional clarity on the code.

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

No branches or pull requests

3 participants