Skip to content

Properties on Domain Events #65

@JorgeOnrubiaMojica

Description

@JorgeOnrubiaMojica

Hi

I'm in love with this project. The debate is so rich.

I have a question or various questions.

How do you model your domain events? I mean. I have an aggregate in one BC named Address that holds references to other Aggregates by theirs ids, like a normal aggregate: CityId, StateId, etc.... But in another BC the same Address aggregate I would like to represent the Address like various Value Objects, I dont care about your ids. Address has CityName and StateName.

The problem is my Domain Event, AddressCreated only hold the ids of the aggregate fresh created, I mean, the AddressId, CityId and StateId, but in the other BC I need the names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions