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

raise error when comparing or casting to a different currency #312

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TayKangSheng
Copy link
Contributor

Issue: https://github.com/Shopify/shopify/issues/517120, https://github.com/Shopify/shopify/issues/517143

Why

Removing support for

  1. mathematical operation with different currencies
  2. Casting the currency of an existing money object with currency to another currency

What

Raise error if any of the above happens

@TayKangSheng TayKangSheng requested a review from elfassy June 27, 2024 18:38
@TayKangSheng TayKangSheng changed the base branch from main to v3 June 27, 2024 18:51
Copy link
Contributor

@elfassy elfassy left a comment

Choose a reason for hiding this comment

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

not ready to ship this yet

@elfassy elfassy added the v3 label Jun 28, 2024
@elfassy elfassy force-pushed the v3 branch 2 times, most recently from 51e4081 to 413fd73 Compare August 16, 2024 11:56
Base automatically changed from v3 to main August 30, 2024 13:26
@elfassy elfassy added v4 and removed v3 labels Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants