Aha, interesting.
So this means that if I just change this part:
var typeName = evnt.GetType().Name;
return new EventData(eventId, typeName, true, data, metadata);
``
to
var typeName = char.ToLower(evnt.GetType().Name[0]) + evnt.GetType().Name.Substring(1)
return new EventData(eventId, typeName, true, data, metadata);
You want a type name like myTypeName (e.g. first is lowercase) this is
mostly because this is idiomatic in Javascript. You can make it
MyTypeName if you prefer it just a matter of what you match to in
Javascript
okay, then I get it. it’s just to not confuse the guy writing the projections writing javascript we’d expect camelcasing, so better let the events names be camelcased.