I thought it was automatically reading the latest source, sorry.
defp deps do
[
{:ash, "~> 3.0.16"},
{:ash_postgres, "~> 2.0.12"},
{:ash_phoenix, "~> 2.0.4"},
{:ash_archival, "~> 1.0.1"},
{:ash_paper_trail, "~> 0.1.2"},
{:ash_graphql, "~> 1.2.0"},
{:ash_authentication, "~> 4.0.1"},
{:ash_authentication_phoenix, "~> 2.0.0"},
{:phoenix, "~> 1.7.12"},
{:phoenix_ecto, "~> 4.5.1"},
{:ecto_sql, "~> 3.11.1"},
{:postgrex, ">= 0.17.5"},
{:phoenix_html, "~> 4.0"},
{:phoenix_live_reload, "~> 1.2", only: :dev},
{:phoenix_live_view, "~> 0.20.1"},
{:floki, ">= 0.30.0", only: :test},
{:phoenix_live_dashboard, "~> 0.8.2"},
{:esbuild, "~> 0.8", runtime: Mix.env() == :dev},
{:tailwind, "~> 0.2.0", runtime: Mix.env() == :dev},
{:swoosh, "~> 1.15.3"},
{:finch, "~> 0.13"},
{:telemetry_metrics, "~> 0.6"},
{:telemetry_poller, "~> 1.0"},
{:gettext, "~> 0.20"},
{:jason, "~> 1.2"},
{:dns_cluster, "~> 0.1.1"},
{:plug_cowboy, "~> 2.5"},
{:guardian, "~> 2.3"},
{:guardian_db, "~> 3.0"},
{:absinthe, "~> 1.7"},
{:picosat_elixir, "~> 0.2"},
{:appsignal, "~> 2.0"}
]
end
I used that dependency.
|> Ash.bulk_destroy(:destroy, %{}, return_errors?: true) #=> %Ash.BulkResult{
status: :error,
errors: [
%Ash.Error.Invalid{
errors: [
%Ash.Error.Invalid.NoMatchingBulkStrategy{
resource: Dentallog.Accounts.UserNotification,
action: :destroy,
requested_strategies: [:atomic_batches, :atomic],
not_stream_reason: nil,
not_atomic_batches_reason: "AshPaperTrail.Resource.Changes.CreateNewVersion does not implement `atomic/3`",
not_atomic_reason: nil,
footer: nil,
splode: Ash.Error,
bread_crumbs: [],
vars: [],
path: [],
stacktrace: #Splode.Stacktrace<>,
class: :invalid
}
]
}
],
records: nil,
notifications: nil,
error_count: 1
}
But I still facing that error.