A small extension for setting up resources to be archived instead of destroyed.
Find a file
2024-02-20 11:40:23 -05:00
.github ci: update to new ci patterns 2023-02-01 00:16:54 -05:00
.vscode improvement: update to Ash 2.0 2022-10-17 13:28:49 -05:00
config chore: update ash 2023-09-25 10:24:23 -04:00
documentation chore: fix build 2024-02-20 11:40:23 -05:00
lib fix: properly pass actor into archive_related 2024-02-20 11:21:22 -05:00
test test: add test for actor is nil on cascading archive (#9) 2024-02-20 11:16:33 -05: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.4 2023-05-04 01:41:34 -04:00
LICENSE improvement: create archival extension 2022-07-13 14:29:49 -04:00
mix.exs chore: fix build 2024-02-20 11:40:23 -05:00
mix.lock chore: fix build 2024-02-20 11:40:23 -05: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]