Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Apr 26, 2024
1 parent 588c26b commit 977e37b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions documentation/topics/archival.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
This extension modifies a resource in the following ways.

1. Adds a private `archived_at` `utc_datetime_usec` attribute.
2. Adds a base filter to the resource, for `is_nil(archived_at)`
3. Marks all destroy actions as `soft?`, turning them into updates
2. Adds a preparation that filters each action for `is_nil(archived_at)` (except for excluded actions)
3. Marks all destroy actions as `soft?`, turning them into updates (except for excluded actions)
4. Adds a change to all destroy actions that sets `archived_at` to the current timestamp
5. Adds a change that will iteratively load and destroy anything configured in `d:AshArchival.Resource.archive|archive_related`
5. Adds a change that will iteratively load and destroy anything configured in `d:AshArchival.Resource.archive|archive_related`

## Considerations

### Performance of Archive Related
Expand All @@ -17,4 +18,4 @@ This extension modifies a resource in the following ways.

## More

See the [Unarchiving guide](/documentation/topics/unarchiving.md) For more.
See the [Unarchiving guide](/documentation/topics/unarchiving.md) For more.

0 comments on commit 977e37b

Please sign in to comment.