View Source Ash.Resource.Actions.Create (ash v3.0.11)

Represents a create action on a resource.

Summary

Types

@type t() :: %Ash.Resource.Actions.Create{
  accept: [atom()],
  allow_nil_input: [atom()],
  arguments: [Ash.Resource.Actions.Argument.t()],
  changes: term(),
  delay_global_validations?: boolean(),
  description: String.t() | nil,
  error_handler: term(),
  manual: module() | nil,
  metadata: term(),
  name: atom(),
  notifiers: [module()],
  primary?: boolean(),
  reject: term(),
  require_attributes: [atom()],
  skip_global_validations?: boolean(),
  touches_resources: [atom()],
  transaction?: term(),
  type: :create,
  upsert?: boolean(),
  upsert_fields:
    nil
    | [atom()]
    | :replace_all
    | {:replace, [atom()]}
    | {:replace_all_except, [atom()]},
  upsert_identity: atom() | nil
}