A small extension for setting up resources to be archived instead of destroyed.
Find a file
dependabot[bot] eb9ee841d2
chore(deps): bump ash from 3.0.0-rc.18 to 3.0.0-rc.19 (#13)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.18 to 3.0.0-rc.19.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.18...v3.0.0-rc.19)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 17:05:22 -04:00
.github chore: enable dependabot for mix dependencies. 2024-04-11 09:23:15 +12:00
.vscode improvement: update to Ash 2.0 2022-10-17 13:28:49 -05:00
config improvement: upgrade to 3.0 2024-03-29 10:19:24 -04:00
documentation improvement: upgrade to 3.0 2024-03-29 10:19:24 -04:00
lib improvement: upgrade to 3.0 2024-03-29 10:19:24 -04:00
test improvement: upgrade to 3.0 2024-03-29 10:19:24 -04:00
.check.exs improvement: update to Ash 2.0 2022-10-17 13:28:49 -05:00
.credo.exs chore: fix build 2024-02-20 11:40:23 -05:00
.formatter.exs improvement: update to Ash 2.0 2022-10-17 13:28:49 -05:00
.gitignore improvement: create archival extension 2022-07-13 14:29:49 -04:00
.tool-versions chore: fix build 2024-02-20 11:40:23 -05:00
CHANGELOG.md chore: release version v0.1.6-rc.0 2024-03-29 10:19:49 -04:00
LICENSE improvement: create archival extension 2022-07-13 14:29:49 -04:00
mix.exs chore: release version v0.1.6-rc.0 2024-03-29 10:19:49 -04:00
mix.lock chore(deps): bump ash from 3.0.0-rc.18 to 3.0.0-rc.19 (#13) 2024-04-11 17:05:22 -04:00
README.md update readme 2022-11-06 12:18:08 -07:00

Ash Archival

A small but useful resource extension for Ash Framework, which configures resources to be archived instead of destroyed.

Installation

The package can be installed by adding ash_archival to your list of dependencies in mix.exs:

def deps do
  [
    {:ash_archival, "~> 0.1"}
  ]
end

Using the archive extension

On your ash resource add AshArchival.Resource to your extensions. For more details see the docs at https://ash-hq.org.

  use Ash.Resource,
    extensions: [AshArchival.Resource]