backwards compability for eventpublishing in eventstoredaggregateroot