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

fix(utils): bignumber util considers nullable options when setting value #6499

Merged
merged 4 commits into from
Feb 26, 2024

Conversation

riqwan
Copy link
Contributor

@riqwan riqwan commented Feb 25, 2024

what:

  • when setting null for nullable columns, big number utils should not throw error
  • remove circular soft delete depenedencies for cart module
  • trims zeros on big number values

Copy link

changeset-bot bot commented Feb 25, 2024

🦋 Changeset detected

Latest commit: 443fdf2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@medusajs/utils Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Feb 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference 🔄 Building (Inspect) Visit Preview Feb 26, 2024 11:05am
medusa-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 26, 2024 11:05am
2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
docs-ui ⬜️ Ignored (Inspect) Visit Preview Feb 26, 2024 11:05am
medusa-docs ⬜️ Ignored (Inspect) Visit Preview Feb 26, 2024 11:05am

@carlos-r-l-rodrigues
Copy link
Contributor

I am doing similar changes to it + some additional ones.
do you mind to bring that to this PR?

@riqwan
Copy link
Contributor Author

riqwan commented Feb 25, 2024

@carlos-r-l-rodrigues sounds good, I can do that once I'm back. 👍🏻

@riqwan riqwan force-pushed the fix/nullable-big-number branch from 1041667 to 9909455 Compare February 26, 2024 10:32
@riqwan
Copy link
Contributor Author

riqwan commented Feb 26, 2024

@carlos-r-l-rodrigues added them in here, let me know if i missed anything.

Copy link
Contributor

@carlos-r-l-rodrigues carlos-r-l-rodrigues left a comment

Choose a reason for hiding this comment

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

LGTM

@kodiakhq kodiakhq bot merged commit 8ea37d0 into develop Feb 26, 2024
17 checks passed
@kodiakhq kodiakhq bot deleted the fix/nullable-big-number branch February 26, 2024 11:29
This was referenced Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants