Is there a good way to version string documents in ash?

I have a table of TODOs, with one column, a :description. A user can modify a TODO's description. I'd like to efficiently store the history of a document, so that the user can look through different past versions of the doc. Is there an easy/built-in way to do this in Ash?
2 Replies
barnabasj
barnabasj2y ago
I think you might be able to achieve this using https://github.com/ash-project/ash_paper_trail
GitHub
GitHub - ash-project/ash_paper_trail: Creates and manages a Version...
Creates and manages a Versions resource for a resource. - GitHub - ash-project/ash_paper_trail: Creates and manages a Versions resource for a resource.
djacobs7
djacobs7OP2y ago
I'll give that a shot, thanks

Did you find this page helpful?