AshVersioned. Transformers. WireActions
(ash_versioned v0.1.0)
Copy Markdown
Wires up the actions and overrides that make versioning work.
- Defines create action
version_reinsertand update actionversion_mark_stale, and the history read action. - Adds
AshVersioned.Resource.ManualIncrementasmanualon every user update action, except those inexclude_update_actions. - Ensures that every create action applies actor attribution.
- Ensures that every create action accepts the identity attribute when the resource
identity is
origin: :accepted. - When the resource declares
archive, every destroy action is markedsoft?: true, and may create a default destroy action if none are defined.
Note that update actions with manual implementations will be rejected; this is not
currently a supported workflow.
Summary
Functions
Callback implementation for Spark.Dsl.Transformer.after_compile?/0.
Callback implementation for Spark.Dsl.Transformer.before?/1.
The name of the generated action that flips a row from latest to stale.
The name of the generated :create action AshVersioned.Resource.ManualIncrement
reinserts through.
Functions
Callback implementation for Spark.Dsl.Transformer.after_compile?/0.
Callback implementation for Spark.Dsl.Transformer.before?/1.
The name of the generated action that flips a row from latest to stale.
The name of the generated :create action AshVersioned.Resource.ManualIncrement
reinserts through.