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

Money round-trip parsing failures #321

Open
vlovgr opened this issue Nov 14, 2018 · 3 comments
Open

Money round-trip parsing failures #321

vlovgr opened this issue Nov 14, 2018 · 3 comments

Comments

@vlovgr
Copy link

vlovgr commented Nov 14, 2018

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)
@hunterpayne
Copy link
Contributor

This seems to work for me as of today on master. Is this still failing for you?

@ruippeixotog
Copy link

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?

@ruippeixotog
Copy link

Ping. If this is already fixed on master, can you please publish a new version?

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

No branches or pull requests

3 participants