https://github.com/ash-project/ash_money
The extension for working with money types in Ash.
https://github.com/ash-project/ash_money
ash elixir money
Last synced: 6 months ago
JSON representation
The extension for working with money types in Ash.
- Host: GitHub
- URL: https://github.com/ash-project/ash_money
- Owner: ash-project
- License: mit
- Created: 2023-11-27T16:22:24.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-09T23:18:40.000Z (6 months ago)
- Last Synced: 2025-04-10T00:25:51.472Z (6 months ago)
- Topics: ash, elixir, money
- Language: Elixir
- Homepage: https://hexdocs.pm/ash
- Size: 1.1 MB
- Stars: 5
- Watchers: 2
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-ash-framework - ash_money - Money handling for Ash Framework. (Extensions / other)
- awesome-ash-framework - ash_money - Money handling for Ash Framework. (Extensions / other)
README


[](https://opensource.org/licenses/MIT)
[](https://hex.pm/packages/ash_money)
[](https://hexdocs.pm/ash_money)# AshMoney
Welcome! This is the extension for working with money types in [Ash](https://hexdocs.pm/ash). This is a thin wrapper around the very excellent [ex_money](https://hexdocs.pm/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.## Tutorials
- [Getting Started with AshMoney](documentation/tutorials/getting-started-with-ash-money.md)