Skip to content

Commit

Permalink
Merge pull request #53 from satom99/fix-after_update-result-typespec
Browse files Browse the repository at this point in the history
Fix result typespec of `c:after_update/3`
  • Loading branch information
drteeth authored Feb 26, 2025
2 parents e2252b8 + 288ac9a commit 34e7660
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 34e7660

Please sign in to comment.