Skip to content

the domain event need to hold sessionID? #263

@KevinNitroG

Description

@KevinNitroG

For sse, not only by user id but session id?

Okay no, we should inject the session id into ctx, passing down. And the later, we should take the session out from ctx, publish to outbox. The metadata got back from event handler...

And, we shouldn't add user id in metadata of the domain event message, only domain event contains it enough. The user id metadata will be replaced by session id

Does watermill passing metadata down to handler via ctx?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions