Closed pkrawat1 closed 6 years ago
Atoms are best suited for keys (in a map or keyword), as far as I've read. We'll have to convert these atoms to upcase strings when making requests to the gateway anyways. There's a thread on elixirforum discussing serialisation and atoms.
As there is limit on atoms count in erlang. link
This is now obsolete because of #62 and #71. It's the Money lib's responsibility to provide a sane/nice interface to create Money objects.
Currently, we are passing currency as a string
"USD"
in the application config:global_config
.This can be improved to use atoms like
:usd
or something which can be driven and controlled by the library instead of a plane string.