-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested binding properties not supported? #38152
Comments
Hmm - seems to be the case. |
@piquet-h , Thank you for your feedback. We will investigate and get back to you shortly. |
@piquet-h Thanks for the feedback! I believe the underlying issue should be resolves as part of the issue that you've mentioned. In the meantime, I guess a note in the doc should help customers hitting the same issue. If you are using C#, I believe you could use runtime binding to overcome this. This also supported for CSX functions. We are assigning this issue to the content author for further review. |
Instead of C#, is there a solution for javascript? Thanks |
@wisesimpson Because of the way non-C# languages work in Azure Functions, runtime binding is not possible. Alternatives would be
|
@PramodValavala-MSFT |
@wisesimpson You'd want to serve the page statically and have JavaScript make the call to fetch the data as required. You can use patterns like Async HTTP APIs to achieve something like that. |
@PramodValavala-MSFT Thanks for your reply. I follow your link and started to create durable functions. Another issue popped up but please forgive me if it's not specific to this topic. Here's the issue: ps: The other argument |
@wisesimpson I believe it would be best to create a thread on MSDN or StackOverflow with your last query, so that the discussion is visible to a larger audience. |
#please-close please refer to linked feature request issue Azure/azure-webjobs-sdk#1726 |
Trying to bind a cosmosDb query to an input based on a json payload from event grid
{
"data" : { "username" : "fred" }
…. rest of event grid stuff
}
Can only bind to the outer properties. This is different to the description earlier in the document that talks about using dot notation to bind to nested properties.
Needs to be clarified, or alternatively, have the bug fixed.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: