View Source Ash.Resource.Actions.Create (ash v2.18.2)

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(),
  primary?: boolean(),
  reject: term(),
  require_attributes: term(),
  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
}