Skip to content

fix(money): handle converter rounding mode index#31

Merged
simPod merged 1 commit into
masterfrom
fix/currency-converter-rounding-mode
Jun 22, 2026
Merged

fix(money): handle converter rounding mode index#31
simPod merged 1 commit into
masterfrom
fix/currency-converter-rounding-mode

Conversation

@simPod

@simPod simPod commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes CurrencyConverter throw type narrowing for brick/money ^0.13 by checking convert()'s roundingMode argument at index 4.

Keeps the package requirement at brick/money ^0.13 only.

Removes the obsolete pre-0.13 positional converter test case that used the old convert(context, roundingMode) shape.

@simPod simPod changed the title fix(money): handle named converter rounding mode fix(money): handle converter rounding mode Jun 22, 2026
@simPod simPod force-pushed the fix/currency-converter-rounding-mode branch from df458ba to b92520f Compare June 22, 2026 06:11
@simPod simPod changed the title fix(money): handle converter rounding mode fix(money): resolve converter rounding argument robustly Jun 22, 2026
@simPod simPod force-pushed the fix/currency-converter-rounding-mode branch from 1ba4c29 to 5f3257e Compare June 22, 2026 06:27
@simPod simPod changed the title fix(money): resolve converter rounding argument robustly fix(money): handle converter rounding mode index Jun 22, 2026
@simPod simPod merged commit 4448bba into master Jun 22, 2026
17 checks passed
@simPod simPod deleted the fix/currency-converter-rounding-mode branch June 22, 2026 06: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.

1 participant