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

Represents a create action on a resource.

Summary

Types

t()

@type t() :: %Ash.Resource.Actions.Create{
  accept: nil | [atom()],
  action_select: [atom()] | nil,
  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()],
  return_skipped_upsert?: boolean(),
  skip_global_validations?: boolean(),
  skip_unknown_inputs: [atom() | String.t()],
  touches_resources: [atom()],
  transaction?: term(),
  type: :create,
  upsert?: boolean(),
  upsert_condition: Ash.Expr.t() | nil,
  upsert_fields:
    nil
    | [atom()]
    | :replace_all
    | {:replace, [atom()]}
    | {:replace_all_except, [atom()]},
  upsert_identity: atom() | nil
}