Describe the bug
When serializing the abstracted Event class, we have a stack overflow failure. We should, in fact, not serialize it from the abstracted class, but more from a concrete class (like EventGridEvent or CloudEvents).
To Reproduce
Load into an Event via the EventParser, try to serialize it.
Expected behavior
We should remove this serialization option in the abstracted Event. We use separate serializers in the event publishing.
Describe the bug When serializing the abstracted
Event
class, we have a stack overflow failure. We should, in fact, not serialize it from the abstracted class, but more from a concrete class (like EventGridEvent or CloudEvents).To Reproduce Load into an
Event
via theEventParser
, try to serialize it.Expected behavior We should remove this serialization option in the abstracted
Event
. We use separate serializers in the event publishing.Additional context