Commit graph

11 commits

Author SHA1 Message Date
Zach Daniel
e2a0e1cabd test: more tests for archival, including postgres tests 2024-09-05 15:03:20 -04:00
48e1029a22
chore: reproduction for issue #57. (#58) 2024-09-02 12:40:53 -04:00
Zach Daniel
f8e405c34f improvement: deprecate exclude_upsert_actions, as it had unintended side effects
docs: document how to handle upserts & identities with `ash_archival`
2024-08-16 11:30:57 -04:00
Zach Daniel
8612b41155 improvement: add exclude_upsert_actions configuration
this allows for upserting records that factor in archived records.

Most commonly, this would be seen as a "create or unarchive" action,
so you'd add `change set_attribute(:archived_at, nil)`
2024-07-18 11:27:20 -04:00
Zach Daniel
0032daca42 improvement: support base_filter? true option
docs: docs overhaul
2024-05-02 15:48:33 -04:00
Zach Daniel
b76a35bca9 improvement: support upserts
docs: add documentation explaining why you may still want to use a base filter
docs: add small upgrade guide, pointing at base_filter docs
2024-04-27 00:31:34 -04:00
Zach Daniel
d7ae1173d9 improvement: upgrade to 3.0 2024-03-29 10:19:24 -04:00
Jechol Lee
55755caf65
test: add test for actor is nil on cascading archive (#9) 2024-02-20 11:16:33 -05:00
Jechol Lee
38149bb589 fix actor in test 2024-02-16 09:40:50 +09:00
Jechol Lee
25d7bba700 Reproduce policy error 2024-02-15 13:08:04 +09:00
Zach Daniel
11a8c81e5f improvement: create archival extension 2022-07-13 14:29:49 -04:00