m-r icon indicating copy to clipboard operation
m-r copied to clipboard

Domain.cs/.fs don't appear to be complete

Open ImaginaryDevelopment opened this issue 9 years ago • 4 comments

in the source fork there are more classes

public abstract class AggregateRoot public class EventStore : IEventStore

is this intentional or just incomplete?

ImaginaryDevelopment avatar Jun 13 '16 18:06 ImaginaryDevelopment

This is totally intentional. In the functional version, no need for base class.

thinkbeforecoding avatar Jun 14 '16 10:06 thinkbeforecoding

You can read more about functional eventsourcing here: http://thinkbeforecoding.github.io/FsUno.Prod/Why%20FSharp.html

thinkbeforecoding avatar Jun 14 '16 10:06 thinkbeforecoding

Thanks, I'll take a look at the functional eventsourcing in search of some more understanding and answers. Also what about the 2nd part? the EventStore? That's not about base class, it's about having all the parts to make the component usable.

ImaginaryDevelopment avatar Jun 14 '16 13:06 ImaginaryDevelopment

if it helps any, here's what I have so far to try to get the simple example running https://gist.github.com/ImaginaryDevelopment/5ab93328a28349d3b12a836e7a09a0d9

ImaginaryDevelopment avatar Jun 14 '16 13:06 ImaginaryDevelopment