Why is SagaBase generic in Jonathan Oliver's CommonDomain library?
Asked
Active
Viewed 432 times
1 Answers
2
That has more to do with a poor design decision related to an assumed dependency on NServiceBus. CommonDomain was actually a bunch of spike code that worked so well, that I started using it in production. I was using NServiceBus which requires that all messages implement IMessage. As a result, SagaBase requires some kind of type, e.g. IMessage. In the coming weeks, I will be overhauling CommonDomain and perhaps inlining critical parts of it into the EventStore. For now, you can just use AggregateBase if you'd like.

Jonathan Oliver
- 5,207
- 32
- 31
-
OK, thanks. By the way, CommonDomain+EventStore is a great combination. EventStore in particular is so good I'm replacing my own implementation with it. – Joe Sep 04 '11 at 01:58
-
That's great to know. My hope is the EventStore becomes the de facto standard for event sourcing-based solution. CommonDomain needs a bit more love still. – Jonathan Oliver Sep 06 '11 at 02:01