eventuate-examples / eventuate-tram-core-dotnet-examples-customers-and-orders

Apache License 2.0
42 stars 22 forks source link

Wrong aggregate type when publishing event for customer creation #9

Closed douggish closed 3 years ago

douggish commented 4 years ago

It doesn’t seem correct to use the customer ID as the aggregate type:

https://github.com/eventuate-examples/eventuate-tram-core-dotnet-examples-customers-and-orders/blob/433b8919e4878b2bff52ac90c297f92b9a74ecbc/CustomerService/Service/CustomerDataService.cs#L31

Shouldn't all customer events use the same aggregate type?

cer commented 3 years ago

Thanks. Fixed.