-
Notifications
You must be signed in to change notification settings - Fork 55
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
Handle subscriptions with deleted products #133
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
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. |
Since we can't assume the subscribable class will always be a subclass of If we want to allow it, I see two main ways:
Any opinions or suggestions on possibilities I'm missing? |
@luca-landa thanks for the analysis here! I think removing the variant from any associated subscriptions is the right way to go here. I also think we should only do this when we're dealing with |
does it make sense to delete the |
When a product is soft-deleted, it should also be removed from all active subscriptions, or perhaps we shouldn't allow deleting a product that has active subscriptions associated.
The text was updated successfully, but these errors were encountered: