Closed treere closed 1 year ago
Hi Kipcole9, I was using your library and I found out that when you cast a value like %{amount: "", currency: "EUR"} I get a nil.
%{amount: "", currency: "EUR"}
nil
When I do the same with %{amount: nil, currency: "EUR"} I get an error while I'm expecting a nil.
%{amount: nil, currency: "EUR"}
This PR fix this
Hi! Andrea
Thanks very much for the report and PR. I have published ex_money_sql version 1.9.1 with the following changelog entry:
"amount"
🥳🥳🥳🥳🥳
Hi Kipcole9, I was using your library and I found out that when you cast a value like
%{amount: "", currency: "EUR"}
I get anil
.When I do the same with
%{amount: nil, currency: "EUR"}
I get an error while I'm expecting anil
.This PR fix this
Hi! Andrea