ash v0.3.0 Ash.Resource.Actions.Read View Source

The representation of a read action

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Ash.Resource.Actions.Read{
  name: atom(),
  primary?: boolean(),
  type: :read
}

Link to this section Functions

Link to this function

new(resource, name, opts \\ [])

View Source
new(Ash.resource(), atom(), Keyword.t()) :: {:ok, t()} | {:error, term()}