squants
squants copied to clipboard
Money round-trip parsing failures
Money round-trip parsing via toString is failing in 1.4.0. Worked in 1.3.0.
import squants.market._
val money = Money(1000d, USD)
// money: squants.market.Money = 1E+3 USD
Money(money.toString)
// scala.util.Try[squants.market.Money] = Failure(squants.QuantityParseException: Unable to parse Money:1E+3 USD)
This seems to work for me as of today on master. Is this still failing for you?
I'm seeing the same behavior, which prevents me from updating PureConfig to the latest version of squants.
Do you have any idea of when a new version might be released?
Ping. If this is already fixed on master, can you please publish a new version?