Skip to content

[feat] add support for create domain event after entity was saved #17

@ikesnowy

Description

@ikesnowy
var entity = new Entity();
entity.AddDomainEvent(entity => new EntityCreatedDomainEvent(entity.Id)); // id would be available after saved

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions