Using the MongoDB persistance engine in joliver/EventStore causing the error Unknown discriminator value \'MyEvent\'
. The issue is only caused when I try to loa
Try to register your objects (itself the event messages as well as the subjects of the EventStore payloads) using the BsonClassMap.RegisterClassMap method. It seems EventStore's mongo extension handles the string payloads well, but not the deserialized objects ... at least registering the classed was the solution in my case.