Investigate and fix in FunctionMetadataGenerator and Source Generation why Cardinality is not assigned to Many when function binds to IEnumerable<> type. This stops the collection support even when it is enabled by the extension - here as Host uses the value of cardinality to assign array type.
Sample function for repro -
[Function("Function")]
public HttpResponseData Run([HttpTrigger(AuthorizationLevel.Anonymous, "get", "post")] HttpRequestData req,
[BlobInput("input-container", Connection = "AzureWebJobsStorage")] IEnumerable<string> blobs)
}
Current output function.metadata -
"bindings": [
{
"name": "data",
"type": "blob",
"direction": "In",
"blobPath": "input-container",
"connection": "AzureWebJobsStorage"
// "cardinality": "Many" --> Expected here
},
{
"name": "$return",
"type": "http",
"direction": "Out"
}
]