AshBackendDrivenOptimisticUi. Effect. Set
(AshBackendDrivenOptimisticUi v0.1.0)
Copy Markdown
View Source
Sets one of the declaring resource's own attributes to the value of an
expression. derived? marks a set read from the action's own changes
rather than written in the optimistic_ui block. from is the change
module it was read from, when it came from one.
Summary
Types
@type t() :: %AshBackendDrivenOptimisticUi.Effect.Set{ __spark_metadata__: Spark.Dsl.Entity.spark_meta(), attribute: atom(), derived?: boolean(), from: module() | nil, value: term() }