8000 chore: Convert null values to zero by fred-jan · Pull Request #52 · MyOnlineStore/common-domain · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: Convert null values to zero #52

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

Merged
merged 1 commit into from
Mar 11, 2022

Conversation

fred-jan
Copy link
Contributor
@fred-jan fred-jan commented Mar 9, 2022

Without this change an error would be thrown by the BigDecimal package when a null value is provided. While it seems this error doesn't currently pose a problem anywhere, it will become an issue when used in combination with Valinor (which won't be able to convert this situation to a Valinor mapping error, as used in https://github.com/MyOnlineStore/payment/pull/328).

@fred-jan fred-jan requested a review from a team March 9, 2022 14:47
@LittlestFluffy LittlestFluffy merged commit 504651f into 2.x-dev Mar 11, 2022
@LittlestFluffy LittlestFluffy deleted the 2.x-valinor-amount-implicit-zero branch March 11, 2022 11:37
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.

2 participants
0