Ash FrameworkAF
Ash Framework8mo ago
28 replies
AngyL75

AshArchival

Dear team,

I am currently trying to implement AshArchival.

In order to be able to read the archived and none archived value. the documentation says I need to create a separate resource.
Shall this separate resource have everything same as the original one, except it does not have the 'extensions: [AshArchival.Resource]' and instead have the

attributes do
      attribute(:archived_at, :utc_datetime_usec, public?: true)
 end


Should I also duplicate all the policies, calculation etc... too ?

Regards,
Angy.
Was this page helpful?