Skip to content

Repository files navigation

Logo Logo

Elixir CI License: MIT Hex version badge Hexdocs badge REUSE status

AshMoney

Welcome! This is the extension for working with money types in Ash. This is a thin wrapper around the very excellent ex_money. It provides:

  • An Ash.Type for representing Money
  • An AshPostgres.Extension for supporting common money operations directly in the database
  • An implementation of Comp for %Money{}, allowing Ash to compare them.

ex_money 6.0 and Localize {: .info}

From this version, ash_money requires ex_money ~> 6.0. ex_money 6.0 replaces the ex_cldr family of dependencies with the unified localize package and removes the compile-time CLDR backend system. Any MyApp.Cldr backend module, or configuration using :default_cldr_backend, should be removed. Locales are now configured through config :localize and accessed through the Localize module (for example Localize.put_locale/1). See the ex_money 6.0 migration guide for full details.

Tutorials

About

The extension for working with money types in Ash.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

16 stars

Watchers

3 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages