gautema/CQRSlite

Snapshot serialization

managerger opened this issue · 3 comments

I've faced with a problem, when I can't serialize SnapshotAggregateRoot. Of course, I can get around the issue by writing SurrogateSerializer, but it seems to be a common task to serialize aggregate when you have a deal with snapshoting (I try to implement memento pattern). So, it would be great to mark SnapshotAggregateRoot and AggregateRoot with [Serializable] attribute.

@gautema Why did you close the thread? It is still useful change, isn't it?

There was no activity for over 6 months, it goes outside the common use case and there was no pull request associated so I closed it.

Thank you, sir I'll create PR shortly