fix: add :ok to Ash.Resource.Actions.Implementation.run/3 callback (#1340)

This was causing a Dialyzer error
This commit is contained in:
Riccardo Binetti 2024-07-24 22:46:49 +02:00 committed by GitHub
parent 381870ac3e
commit 79dd76e466
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ defmodule Ash.Resource.Actions.Implementation do
end
@callback run(Ash.ActionInput.t(), opts :: Keyword.t(), Context.t()) ::
{:ok, term()} | {:ok, [Ash.Notifier.Notification.t()]} | {:error, term()}
:ok | {:ok, term()} | {:ok, [Ash.Notifier.Notification.t()]} | {:error, term()}
defmacro __using__(_) do
quote do