Skip to content

Commit

Permalink
Fix result typespec of c:after_update/3
Browse files Browse the repository at this point in the history
  • Loading branch information
satom99 committed Mar 20, 2024
1 parent e2252b8 commit 288ac9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/projections/ecto.ex
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ defmodule Commanded.Projections.Ecto do
"""
@callback after_update(event :: struct, metadata :: map, changes :: Ecto.Multi.changes()) ::
:ok | {:error, any}
:ok | {:ok, any} | {:error, any}

@doc """
The optional `schema_prefix/1` callback function defined in a projector is
Expand Down

0 comments on commit 288ac9a

Please sign in to comment.