Code of Conduct
AI Policy
Is your feature request related to a problem? Please describe.
We want to control in runtime if ash_paper_trail is enabled for certain resources in runtime.
Describe the solution you'd like
Similarly, this: https://hexdocs.pm/ash_paper_trail/getting-started-with-ash-paper-trail.html#tracking-changes-conditionally
change set_context(%{ash_paper_trail_disabled?: true})
It would disable creating snapshots/versions of the affected resource that would normally be created after the action.
Describe alternatives you've considered
No response
Additional context
No response
Code of Conduct
AI Policy
Is your feature request related to a problem? Please describe.
We want to control in runtime if
ash_paper_trailis enabled for certain resources in runtime.Describe the solution you'd like
Similarly, this: https://hexdocs.pm/ash_paper_trail/getting-started-with-ash-paper-trail.html#tracking-changes-conditionally
change set_context(%{ash_paper_trail_disabled?: true})It would disable creating snapshots/versions of the affected resource that would normally be created after the action.
Describe alternatives you've considered
No response
Additional context
No response