From #59: - Set-CloudEventData throws an error when -DataContentType is omitted. - Set-CloudEventData builds a ContentType object and then never uses it. Also see: https://github.com/cloudevents/sdk-powershell/pull/59#issuecomment-6770342874 (Bugs coupled to parameter metadata) for the full details of these bugs
Activity