Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.24k stars 4.58k forks source link

CloudEvent schema only accepts JObject; nuget uses JArray #5025

Closed mmulhearn closed 4 years ago

mmulhearn commented 5 years ago

This stackoverflow topic is still relevant https://stackoverflow.com/questions/52233053/posting-custom-message-to-event-grid-via-logicapps

If you are using the CloudEvent schema, you get a JSON error about sending an array. The nuget does not handle that schema. It should. It does not allow you to send a single object; it only allows an IList.

shahabhijeet commented 5 years ago

@mmulhearn can you be more specific and provide more information. A way to reproduce the behaviour. Nuget Package name/version.

pakrym commented 4 years ago

Hi. We're closing this issue as no response or updates have been provided in a timely manner and we have been unable to reproduce it. If you have more details and are encountering this issue please add a new reply and re-open the issue.