sdk-csharp icon indicating copy to clipboard operation
sdk-csharp copied to clipboard

CloudEvent Source type

Open glucaci opened this issue 4 months ago • 1 comments

Hi,

I wanted to write a mapping between the Azure.Messaging.CloudEvent which is JSON spec conform and the CloudNative.CloudEvents.CloudEvent and realized the difference on the Source Property type.

There is any reason why in CloudNative.CloudEvents.CloudEvent the Source property is Uri because in Azure.Messaging.CloudEvent it's a string.

Also taking a look of the spec examples and taking the value 1-555-123-4567, can be seen that this is not a valid value for an Uri type.

Thanks for clarification!

glucaci avatar Oct 23 '24 13:10 glucaci