Skip to content

Commit 34e7660

Browse files
authored
Merge pull request #53 from satom99/fix-after_update-result-typespec
Fix result typespec of `c:after_update/3`
2 parents e2252b8 + 288ac9a commit 34e7660

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/projections/ecto.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ defmodule Commanded.Projections.Ecto do
150150
151151
"""
152152
@callback after_update(event :: struct, metadata :: map, changes :: Ecto.Multi.changes()) ::
153-
:ok | {:error, any}
153+
:ok | {:ok, any} | {:error, any}
154154

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

0 commit comments

Comments
 (0)