Open michelchan opened 8 months ago
The SDK doesn't match the IR for Decimal.divideWithDefault. This is causing issues when implementing it properly in Morphir-Scala because it doesn't match.
Decimal.divideWithDefault
DivWithDefault SDK implementation that returns Decimal: https://github.com/finos/morphir-elm/blob/cdccf45ce8e10803e5e4b4de4229f86aed1fd928/src/Morphir/SDK/Decimal.elm#L238-L242
Decimal
DivWithDefault IR that returns Maybe Decimal: https://github.com/finos/morphir-elm/blob/cdccf45ce8e10803e5e4b4de4229f86aed1fd928/src/Morphir/IR/SDK/Decimal.elm#L49
Maybe Decimal
It should be Decimal.
The SDK doesn't match the IR for
Decimal.divideWithDefault
. This is causing issues when implementing it properly in Morphir-Scala because it doesn't match.DivWithDefault SDK implementation that returns
Decimal
: https://github.com/finos/morphir-elm/blob/cdccf45ce8e10803e5e4b4de4229f86aed1fd928/src/Morphir/SDK/Decimal.elm#L238-L242DivWithDefault IR that returns
Maybe Decimal
: https://github.com/finos/morphir-elm/blob/cdccf45ce8e10803e5e4b4de4229f86aed1fd928/src/Morphir/IR/SDK/Decimal.elm#L49It should be
Decimal
.