HappYness-Project / Happy-EventSourcing

Event sourcing
10 stars 1 forks source link

GetByAggregateId does not bring the Domain object completely #96

Closed hyunbin7303 closed 1 year ago

hyunbin7303 commented 1 year ago

In order to get the Aggregate from the Event Store, it requires to use GetByAggregateId from the AggregateRepository but the current implementation iterate all events without instantiating aggregate. Because of that, many properties have null value or not valid default value.