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.36k stars 4.79k forks source link

Microsoft.Azure.WebJobs.Extensions.WebPubSub Samples Issue #46365

Open Kevin-Zhong19 opened 1 week ago

Kevin-Zhong19 commented 1 week ago

1. Section link:

image

Reason: Type error. Can't bind parameter 'data' to type 'System.String'.

Suggestion: Please change to the correct data type.

@scottaddie , @jsquire and @vicancy for notification.

github-actions[bot] commented 1 week ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @JialinXin @vicancy.

JialinXin commented 17 hours ago

Which SDK version are you using? And what original data type are you using? We'll try to convert reserved parameters to possible data type, best choice is BinaryData and accepts string, Stream, byte[] and convert if possible.

See here for some reference: https://learn.microsoft.com/en-us/azure/azure-web-pubsub/reference-functions-bindings?tabs=csharp#usages

Kevin-Zhong19 commented 12 hours ago

Which SDK version are you using? And what original data type are you using? We'll try to convert reserved parameters to possible data type, best choice is BinaryData and accepts string, Stream, byte[] and convert if possible.

See here for some reference: https://learn.microsoft.com/en-us/azure/azure-web-pubsub/reference-functions-bindings?tabs=csharp#usages

Thank you, we define the string type, it can be received normally.