AshCommanded.Commanded.Projection (AshCommanded v0.1.0)

View Source

Represents a projection in the Commanded DSL.

Projections define how events affect the resource state, transforming events into resource updates.

Summary

Types

t()

@type t() :: %AshCommanded.Commanded.Projection{
  action: atom(),
  autogenerate?: boolean(),
  changes: map() | function(),
  event_name: atom(),
  name: atom()
}