Comments (5)
Thanks for the report. And apologies for the slow response - I'm not getting issue notifications from GitHub for this repo it seems.
As of 3cfa502..324c691
I believe the issue is fixed, basically in the way you suggested by letting Money.new/3
take care of parsing.
from money_sql.
Awesome! Whats your release schedule for this? Is it possible to backport into a tag and get a new minor version out?
from money_sql.
I've published ex_money version 5.5.0 and ex_money_sql version 1.4.0.
Does that work for you? If you have version constraint and are looking for a back port, just let me know and I'll see what I can do. It's midnight my timezone now so I may not get to it for another few hours.
Apologies again for the slow response, I think I've fixed GitHub notifications now.
from money_sql.
No not at all, I for some reason thought you didnt release a new version.
from money_sql.
There is only one test case currently that uses exactly your example but I think covers the issue.
I was waiting to see if there was any feedback on a new feature added in ex_money
but given how late I have been on the two issues here I just published anyway :-)
from money_sql.
Related Issues (19)
- Couldn't generate migration for custom type due to incorrect path HOT 5
- Unmatched clause for `Cldr.Decimal.parse/1` HOT 1
- Possible bug in ecto? Asking here first for clarification HOT 3
- Broken/Unsupported CompositeType defaults
- Checking if I receive notifications
- function Money.Ecto.Composite.Type.type/0 is undefined or private when using Ecto.Query.Api.type/2 HOT 7
- Getting `type/0` is undefined errors when upgrading HOT 6
- `undefined function migrations_path/1` when attempting to compile HOT 3
- Add keyword list to error return from money_with_currency cast/1 HOT 3
- Add Ecto Changeset validations HOT 1
- Aggregate function treating null as zero amount HOT 1
- Is it able to change the behavior of to_string for `Money.Ecto.Composite.Type` ? HOT 7
- Cast function used to return error when currency is nil HOT 2
- Money.Ecto.Map.Type.embed_as/2 should return :dump instead of :self HOT 2
- Protocol.UndefinedError exception for Jason.Encoder when embedded schema is configured incorrectly with Money.Ecto.Composite.Type HOT 8
- Ecto types return malformed error when casting invalid currency HOT 2
- Dependencie issue with ex_money 5.2 HOT 2
- Not compatible with Decimal 2.0 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from money_sql.