Azure / Azure/azure-functions-host

Input/Output Binding Direction Issues

Open
#929 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 10h
Merged PRs (30d)
36

Description

For some binding types (e.g. Bot DirectLineClient, NotificationHubClient, etc.) we have created separate input bindings in the templates, but from a runtime point of view the direction doesn't really matter. E.g. I suspect that NH client binding would work in C# regardless of what the selected direction is.

Furthermore, some of these bindings would actually fail in certain languages - etc. the above client bindings will only work in C#/F#, not Powershell etc. I bet things just blow up if you try that.

We should investigate all this and see if there are any validations we can put in place to make the behavior and error modes consistent across bindings.

Contributor guide

Open the contributing guide

Research direction

Start by inventorying the input bindings in the templates, focusing on Bot DirectLineClient and NotificationHubClient, then trace how the runtime handles their direction and language support. Compare behavior across C#, F#, and PowerShell; done means documented validation rules and consistent behavior and error modes for all affected bindings.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, fsharp, powershell
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.