Closed tomkerkhove closed 4 years ago
It's also somewhat related to the issue I mentioned in #112 that the Event Grid event and CloudEvent is not isomorphic and that if we would remove all reference to the concrete event type, we would lose information and possible have corrupt events.
It's related to this, because the abstracted event will need to be serialized when publishing events. This issue is I think not only about publishing raw events but about publishing every type of events bc (like you said) the abstracted event is not either concrete event type.
I don't see how these are related - You are publishing raw events here and as a publisher you'd want to have the choice on how to publish depending on your Event Grid topic.
PublishRawAsync should allow you to choose between Event Grid & CloudEvents which is not the case today where it assumes Event Grid format.