Skip to content

Commit

Permalink
working with clock actor sending messages to projection actor
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasdarruda committed Nov 28, 2024
1 parent 4aaf700 commit 816439f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 80 deletions.
2 changes: 1 addition & 1 deletion lib/actors/actor/entity/invocation.ex
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ defmodule Actors.Actor.Entity.Invocation do
defp do_handle_projection(id, action, %{sourceable: true} = _settings, state) do
actor_name_or_parent = if id.parent == "", do: id.name, else: id.parent

subject = "actors.#{actor_name_or_parent}.#{id.name}"
subject = "actors.#{actor_name_or_parent}.#{id.name}.#{action}"
payload = Google.Protobuf.Any.encode(state.actor.state.state)

uuid = UUID.uuid4(:hex)
Expand Down
29 changes: 0 additions & 29 deletions spawn_sdk/spawn_sdk_example/priv/protos/actors/example.proto

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 816439f

Please sign in to comment.