Skip to content

Commit

Permalink
metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
patriknw committed Dec 3, 2024
1 parent 927ed2a commit 58f83a4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ private[impl] final class EventSourcedEntityImpl[S, E, ES <: EventSourcedEntity[
command.payload.getOrElse(
// FIXME smuggling 0 arity method called from component client through here
ScalaPbAny.defaultInstance.withTypeUrl(AnySupport.JsonTypeUrlPrefix).withValue(ByteString.empty())))
val metadata: Metadata =
MetadataImpl.Empty // FIXME MetadataImpl.of(command.metadata.map(_.entries.toVector).getOrElse(Nil))
val metadata: Metadata = MetadataImpl.of(command.metadata)
val cmdContext =
new CommandContextImpl(
entityId,
Expand Down

0 comments on commit 58f83a4

Please sign in to comment.